(form "05011" (size 80 13) (heading "DEFINE A NEW RAMP") (label (position 2 3) (text "Define the ramp characteristics")) (label (position 2 4) (text "Ramp name")) (field "ramp_name" (position 20 4) (display_length 10) (translate none) (max_length 10) (input allowed) (null disallowed) ) (label (position 2 5) (text "Ramp String")) (field "ramp_string" (position 20 5) (display_length 10) (max_length 10) (input allowed) (format integer_4) (null disallowed) (low_bound 1) ) (label (position 2 6) (text "Ramp type")) (field "ramp_type" (position 20 6) (display_length 14) (max_length 14) (input allowed) (translate lower) (null disallowed) (value_in "clockwise" "anti-clockwise" "all cut") ) (label (position 2 7) (text "Ramp width")) (field "ramp_width" (position 20 7) (display_length 10) (max_length 10) (input allowed) (format real_8) (low_bound 1) (null disallowed) ) (label (position 2 8) (text "Ramp gradient 1:")) (field "ramp_gradient" (position 20 8) (display_length 10) (input allowed) (format real_8) (null disallowed) (low_bound .01) ) (label (position 2 9) (text "Gradient method")) (field "ramp_grade_calc_method" (position 20 9) (display_length 12) (input allowed) (translate lower) (null disallowed) (dependency (value "ramp_type") != "all cut") (value_in "inside edge" "outside edge" "centre of ramp") ) (label (position 40 3) (text "Define the berm crossing characteristics")) (label (position 40 4) (text "Berm crossing method")) (field "berm_crossing_method" (position 59 4) (display_length 17) (input allowed) (translate lower) (null disallowed) (max_length 26) (dependency (value "ramp_type") != "all cut") (value_in "exit at crest" "exit at toe" "exit at crest and toe" "no berm exit") ) (label (position 40 5) (text "Berm taper distance")) (field "berm_taper_distance" (position 59 5) (display_length 10) (input allowed) (format real_8) (null disallowed) (low_bound 0.0) (dependency (value "ramp_type") != "all cut") ) (label (position 40 7) (text "Define the switchback characteristics")) (label (position 40 9) (text "Switchback angle")) (field "switchback_angle" (position 59 9) (display_length 10) (input allowed) (format decimal_angle) (null disallowed) (low_bound 0.0) (default "180.0") (dependency (value "ramp_type") != "all cut") ) (label (position 40 10) (text "Switchback inner radius")) (field "switchback_inner_radius" (position 59 10) (display_length 10) (input allowed) (format real_8) (null disallowed) (low_bound 0.0) (default "0.0") (dependency (value "ramp_type") != "all cut") ) (default_buttons) )