(form "00263" (size 46  11)  
  (heading "00263_new_survey")
  (label (position  2  3) (text "Location"))
  (label (position  2  4) (text "ID number"))
  (label (position  2  5) (text "Report file format"))
  (label (position  2  6) (text "Purpose"))
  (label (position  2  7) (text "First vert angle for all points"))
  (label (position  2  8) (text "Stability monitoring prism table"))
  (label (position  2  9) (text "Area for monitoring prisms data"))
  (field "obsloc" (position 12  3) (display_length 26) (input allowed)
    (translate lower) (null disallowed) (max_length 248)
    (file output(link "obsid") (extension "*.str"))
    (help "00263_TIP_0"))
  (field "obsid" (position 12  4) (display_length 16) (input allowed)
    (translate upper) (format real_8) (null disallowed) (max_length 16))
  (field "report_format" (position 12  5) (display_length 20) (input allowed)
    (translate lower) (null disallowed) (max_length 20)
    (value_in ".not" ".csv" ".htm" ".html" ".rtf" ".pdf" ".ps"))  
  (field "purpose" (position 12  6) (display_length 32) (input allowed)
    (null allowed) (max_length 32))
  (field "firstvang" (position 26  7) (display_length  1) (input allowed)
    (value_in "Y" "N")
    (translate upper) (null allowed) (max_length 1)
    (help "00263_TIP_1"))
  (field "prism_table" (position 26  8) (display_length  10) (input allowed)
    (translate lower) (null allowed) (max_length 18)
    (help "00263_TIP_2"))
  (field "prism_area" (position 26  9) (display_length  10) (input allowed)
    (translate upper) (null disallowed) (max_length 16)
    (dependency (value "prism_table") != "")
    (help "00263_TIP_3"))
  (default_buttons)
)
