(form "12000" (size 51 14)
  (heading "CALCULATE TRUE THICKNESS")
  (field "selav" (position 36  3) (display_length  1) (input allowed)
    (value_in "Y" "N")
    (translate upper) (null allowed) (max_length 1)
    )
  (field "bearing" (position 22  4) (display_length  6) (input allowed)
    (low_bound 0) (high_bound 360)
    (dependency (value "selav") == "Y")
    (translate upper) (format real_8) (null disallowed) (max_length 6)
    )
  (field "bearing_err" (position 40  4) (display_length  3) (input allowed)
    (low_bound 0) (high_bound 360)
    (dependency (value "selav") == "Y")
    (translate upper) (format real_8) (null disallowed) (max_length 3)
    )
  (field "oredip" (position 22  5) (display_length  6) (input allowed)
    (low_bound -90) (high_bound 90)
    (dependency (value "selav") == "Y")
    (translate upper) (format real_8) (null disallowed) (max_length 6)
    (help (field "bearing")))
  (field "oredip_err" (position 40  5) (display_length  3) (input allowed)
    (low_bound 0) (high_bound 360)
    (dependency (value "selav") == "Y")
    (translate upper) (format real_8) (null disallowed) (max_length 3) 
    (help (field "bearing_err")))
  (field "selslope" (position 31  7) (display_length  1) (input allowed)
    (value_in "Y" "N")
    (translate upper) (null allowed) (max_length 1) 
    )
  (field "sloloc" (position 16  8) (display_length 26) (input allowed)
    (translate lower) (null allowed) (max_length 26)
    (dependency (value "selslope") == "Y")
    (file (link "slrange") (extension "*.str"))
    )
  (field "slrange" (position 16  9) (display_length 32) (input allowed)
    (format range) (null disallowed) (max_length 32)
    (dependency (value "selslope") == "Y")
    (help (field "sloloc")))
  (field "seldb" (position 31 11) (display_length  1) (input allowed)
    (value_in "Y" "N")
    (translate upper) (null allowed) (max_length 1) 
    )
  (field "permit_db_method" (position 31 12) (display_length  1) 
    (input allowed)
    (value_in "Y" "N")
    (translate upper) (null allowed) (max_length 1) 
    )
(default_buttons)
)
