(form "00233" (size 51 20)
  (heading "POLYGON INTERSECTION")
  (label (position  2  3) (text "Define the intersecting or outersecting polygons"))
  (label (position  2  4) (text "Location"))
  (label (position  2  5) (text "ID range"))
  (label (position  2  6) (text "String range"))
  (label (position  2  8) (text "Define the intersected or outersected polygons"))
  (label (position  2  9) (text "Location"))
  (label (position  2 10) (text "String range"))
  (label (position  2 11) (text "Retain descriptions"))
  (label (position  2 13) (text "Define output string files"))
  (label (position  2 14) (text "Location"))
  (label (position  2 15) (text "Polygon operation"))
  (label (position  2 16) (text "I - Intersection"))
  (label (position  2 17) (text "O - Outersection"))
  (label (position  2 18) (text "X - Union"))
  (label (position  2 21) (text "REPORT_FILE_NAME"))
  (field "kingloc" (position 15  4) (display_length 26) (input allowed)
    (translate upper) (null allowed) (max_length 256)
    (file (link "kingidrange") (extension "*.str"))
    )
  (field "kingidrange" (position 15  5) (display_length 32) (input allowed)
    (format range) (null disallowed) (max_length 32)
    )
  (field "kingstrange" (position 15  6) (display_length 32) (input allowed)
    (format range) (null disallowed) (max_length 32)
    (help (field "kingidrange")))
  (field "kutloc" (position 15  9) (display_length 26) (input allowed)
    (translate upper) (null allowed) (max_length 256)
    (file (extension "*.str"))
    )
  (field "kutstrange" (position 15 10) (display_length 32) (input allowed)
    (format range) (null disallowed) (max_length 32)
    )
  (field "swa_desc" (position 20 11) (display_length  1) (input allowed)
    (value_in "Y" "N")
    (translate upper) (null allowed) (max_length 1)
    )
  (field "newloc" (position 15 14) (display_length 26) (input allowed)
    (translate upper) (null allowed) (max_length 256)
    (file output (extension "*.str"))    
    )
  (field "imode" (position 22 15) (display_length  1) (input allowed)
    (value_in "I" "O" "X")
    (translate upper) (null allowed) (max_length 1))
  (field "report_file" (position 15 7) (display_length 26) (input allowed)
    (translate lower) (null allowed) (max_length 26)
    (file output (extension trim "reports|*.not"))
    (help "REPORT_FILE_NAME_TIP"))
  (field "reportformat" (position 18 13) (display_length 32) (max_length 256)
    (input allowed) (null allowed)
    (help "The file format nominated here will be the output report format.")
    (value_in ".not - Surpac Note File"
              ".csv - Comma Separated (Spreadsheet)"
              ".htm - Hypertext Markup Language (Web)"
              ".pdf - Adobe Acrobat"
              ".ps - Postscript"))
  (default_buttons)
)
