(form "horizontal_road_table" (size 43  6)
    
  (heading "Design Horizontal Alignment")

  (field "output_string" (position 10 0) (display_length 16) (input allowed) (format integer_4)
    (max_length 16) ( null disallowed) (low_bound 1) (high_bound 32000) )

  (field "road_name" (position 10 0) (display_length 16) (input allowed)
    (max_length 16) ( null allowed) )
  (field "initial_chainage" (position 30 0 ) ( display_length 6 ) ( input allowed)
    ( max_length 16) (null disallowed) (format real_8) (low_bound 0 ) 
    ( decimals 2)) 

   
  (field "velocity" (position 10 1 ) ( display_length 30 ) ( input allowed)
    ( max_length 16) (null disallowed) (format real_8) (low_bound 0 ) 
    ( decimals 2)) 
  
  (field "chainage" (position 10 2 ) ( display_length 6 ) ( input allowed)
    ( max_length 16) (null disallowed) (format real_8) (low_bound 0.1 ) 
    ( decimals 2)) 

  (scroll_block "curve_table" (position 5 4) (size 65 5)
     (extra 0 1)
     (scroll_size 80 100)
     (repeat (grow 0 1) (instances 1 (min 1)))
    (top  
      (label (position  1  1) (text "Status"))
      (label (position  2  1) (text "Locked"))
      (label (position  3  1) (text "Radius"))
      (label (position  4  1) (text "Radius"))
      (label (position  5  1) (text "Transition length"))
      (label (position  6  1) (text "ROAD_SUPER_ELEVATION"))
    )
    (main
      (field "status" (position 3 0) 
        (display_length 7) 
        (input disallowed)
        (max_length 30)
        (null disallowed) )
      (field "Locked" (position 7 0) 
        (display_length 2) 
        (input allowed)
        (value_in "Y" "N")
        (default "N")
        (translate upper) )
      (field "radius" (position 15 0) 
        (display_length 6) 
        (format real_8) 
        (input allowed)
        (max_length 16)
        (low_bound 0 ) 
        (null disallowed) )
      (field "transition_length" (position 26 0) 
        (display_length 6) 
        (format real_8) 
        (input allowed)
        (max_length 30)
        (low_bound 0 ) 
        (null disallowed) )
      (field "super_elevation" (position 26 0) 
        (display_length 7) 
        (input allowed)
        (max_length 30)
        (null disallowed) )
    )
  )

  (default_buttons)
)
