(form "05100" (size 40 18)
  (help "05100_TIP_0")
  (heading "UNDERGROUND PANEL DESIGN")

  (label (position  2  3) (text "Define the main headings"))
  (label (position  2  4) (text "String number"))
  (field "main_heading_string" (position 25  4) 
    (display_length 5) (input allowed) (low_bound 1)
    (default "1")
    (format integer_4) (null disallowed) (max_length 5)
    (help "05100_TIP_1"))

  (label (position  2  5) (text "Number of headings to left"))
  (field "num_headings_left" (position 25  5) 
    (display_length 5) (default "3")(input allowed) (low_bound 0)
    (format integer_4) (null disallowed) (max_length 5)
    (help "05100_TIP_2"))

   (label (position  2  6) (text "Number of headings to right"))
  (field "num_headings_right" (position 25  6) 
    (display_length 5) (default "3") (input allowed) (low_bound 0)
    (format integer_4) (null disallowed) (max_length 5)
    (help "05100_TIP_3"))

 
  (label (position  2  7) (text "Bearing of heading"))
  (field "bearing" (position 25  7) 
    (display_length 8) (default "0") (input allowed) (low_bound 0)
    (high_bound 6.28318530717)(format dms_angle) (null disallowed) 
    (max_length 8)
    (help "05100_TIP_4"))

  (label (position  2  8) (text "Length of heading"))
  (field "length" (position 25  8) 
    (display_length 8) (input allowed) (low_bound 0.1) (default "0")
    (format real_8) (null disallowed) (max_length 8)
    (help "05100_TIP_5"))

  (label (position  2  9) (text "Roadway spacing"))
  (field "roadway_spacing" (position 25  9) 
    (display_length 8) (input allowed) (low_bound 0.1)
    (default "0")
    (format real_8) (null disallowed) (max_length 10)
    (help "05100_TIP_6"))

  (label (position  2  11) (text "Define the crosscuts"))
  (label (position  2  12) (text "Crosscut string"))
  (field "crosscut_string_id" (position 25  12) (display_length 5) (input allowed)
    (low_bound 1) (default "2")
    (format integer_4) (null disallowed) (max_length 5)
    (help "05100_TIP_7"))

   (label (position  2  13) (text "Angle to main heading (left)"))
  (field "angle_left" (position 25  13) (display_length 8) (input allowed)
    (low_bound 0.1) (high_bound 3.14159265358)(default "90")
    (format dms_angle) (null disallowed) (max_length 8)
    (help "05100_TIP_8"))

  (label (position  2  14) (text "Angle to main heading (right)"))
  (field "angle_right" (position 25  14) (display_length 12) (input allowed)
    (low_bound 0.1) (high_bound 3.14159265358) (default "90")
    (format dms_angle) (null disallowed) (max_length 8)
    (help "05100_TIP_9"))

  (label (position  2  15) (text "Crosscut spacing"))
  (field "crosscut_spacing" (position 25  15) (display_length 12) (input allowed)
    (low_bound 0.1) (default "0")
    (format real_8) (null disallowed) (max_length 8)
    (help "05100_TIP_10"))

  (default_buttons)
)
