(form "00802" (size 45  17)
  (heading "SELECT MONITORING PRISMS")
  (label (position  2  3) (text "Prism table"))
  (field "table_name" (position 17  3) (display_length 18) (input allowed)
    (translate lower) (format db_charset) (null disallowed) (max_length 18)
    )

  (scroll_block "measured_attributes" (position  2  6) (size 22  5)
     (extra  0  1)
     (scroll_size 22 20)
     (repeat interactive (grow  0  1) (instances  1 (min  1) (max 20)))
    (top
      (label (position  1  0) (text "Measured Attributes"))
    )
    (main
      (field "measured_attribute" (position  1  0) (display_length 18) 
        (input allowed)      
        (max_length 18)
        (translate lower) (null allowed)
        )
     )
  )

  (label (position  2  12) 
    (text "No. of points to average velocity & acceleration"))
  (field "num_points_for_average" (position 40  12) (display_length  1) 
    (input allowed) (low_bound 1) (high_bound 9) (format integer_4)
    (default "4") (translate upper) (null allowed) (max_length 1)
        )

  (label (position  2  13) 
    (text "Datum time for graphs"))
  (field "datum_time" (position 25  13) (display_length  18) 
    (input allowed) (format datetime)
    (translate upper) (null disallowed) (max_length 23)
        )

  (label (position  2  14) 
    (text "Time units for graphs"))
  (field "time_units" (position 25  14) (display_length  8) 
    (input allowed) (default "weeks")
    (translate lower) (null disallowed) (max_length 23)
    (value_in "seconds" "minutes" "hours" "days" "weeks")
        )
  (default_buttons)
)
