(form "20253" (size 65 20)
    (heading "IK SEARCH AND ESTIMATION PARAMETERS"
    )
    (label 
        (position  4  3) 
        (text "Search type"
        )
    )
    (field "search" 
        (position 15  3) 
        (display_length  10) 
        (input allowed)
        (value_in "ELLIPSOID" "OCTANT"
        )
        (default "ELLIPSOID")
        (translate upper) 
        (null allowed) 
        (max_length 9) 
        )

    (label 
        (position  4  5) 
        (text "Minimum number of samples to select"
        )
    )
    (field "minsamples" 
        (position 38  5) 
        (display_length  2) 
        (input allowed)
        (low_bound 1) 
        (high_bound 50) 
        (default "3")
        (format integer_2) 
        (null disallowed) 
        (max_length 2) 
        )

    (label 
        (position  4  6) 
        (text "Maximum number of samples to select"
        )
    )
    (field "maxsamples" 
        (position 38  6) 
        (display_length  4) 
        (input allowed)
        (low_bound 1) 
        (default "15")
        (format integer_2) 
        (null disallowed) 
        (max_length 4)
        )

    (label 
        (position  4  8) 
        (text "Maximum search radius"
        )
    )
    (field "majordist" 
        (position 34  8) 
        (display_length 10) 
        (input allowed)
        (translate upper) 
        (format real_8) 
        (null disallowed) 
        (max_length 16) 
        )

    (label 
        (position  4  9) 
        (text "Maximum vertical search distance"
        )
    )
    (field "vertdist" 
        (position 34  9) 
        (display_length 10) 
        (input allowed)
        (translate upper) 
        (format real_8) 
        (null disallowed) 
        (max_length 16) 
        )
    (field "const_by_id" (position 34 10) (display_length  1) (input allowed)
      (value_in "Y" "N")
      (default "N") (translate upper) (null allowed) (max_length 1)
      )
    (field "desc_field" (position 34 11) (display_length 5) (input allowed)
      (default "d2") (translate upper) (null disallowed) (max_length 32) 
      (value_in non_exclusive "d1" "d2" "d3" "d4" "d5" "d6" "d7" "d8" "d9" "d10"
       "d11" "d12" "d13" "d14" "d15" "d16" "d17" "d18" "d19" "d20")
      )
    (field "max_samp_per_id" (position 34 12) (display_length 10) (input allowed)
      (default "15")(translate upper) (format integer_2) (null disallowed) (max_length 16) 
      )
      (label 
          (position  4 11) 
          (text "Maximum number of adjacent octants with no samples"
          )
      )
    (field "adjoct" 
        (position 50  11) 
        (display_length  2) 
        (input allowed)
        (format integer_2) 
        (null disallowed) 
        (max_length 2)
        (dependency (value "search") == "OCTANT")
        )

    (label 
        (position  4 13) 
        (text "Number of descretisation points"
        )
    )
  
    (label 
        (position 31 13) 
        (text "X"
        )
    )
    (field "dpt0" 
        (position 33  13) 
        (display_length  1) 
        (input allowed)
        (low_bound 1) 
        (high_bound 5) 
        (default "3")
        (format integer_4) 
        (null disallowed) 
        (max_length 1)
        )
    (label 
        (position 41 13) 
        (text "Y"
        )
    )
    (field "dpt1" 
        (position 43  13) 
        (display_length  1) 
        (input allowed)
        (low_bound 1) 
        (high_bound 5) 
        (default "3")
        (format integer_4) 
        (null disallowed) 
        (max_length 1)
        (help 
            (field "dpt0")
        )
    )

    (label 
        (position 51 13) 
        (text "Z"
        )
    )
    (field "dpt2" 
        (position 53  13) 
        (display_length  1) 
        (input allowed)
        (low_bound 1) 
        (high_bound 5) 
        (default "3")
        (format integer_4) 
        (null disallowed) 
        (max_length 1) 
        (help 
            (field "dpt0")
        )
    )

    (label 
        (position  4 15) 
        (text "REPORT_FILE_NAME"
        )
    )
    (field "outfile" 
        (position 18 15) 
        (display_length  18) 
        (input allowed)
        (translate lower) 
        (null allowed) 
        (max_length 26)
        (file output
            (extension trim "reports|*.not")
        )
        (help "REPORT_FILE_NAME_TIP"))

  (field "report_format" (position 18 16) (display_length 16)
    (input allowed) (null allowed)
    (value_in ".not - Surpac Note File"
              ".csv - Comma Separated (Spreadsheet)"
              ".htm - Hypertext Markup Language (Web)"
              ".html - Hypertext Markup Language (Web)"
              ".rtf - Rich Text Format (Microsoft Word)"
              ".pdf - Adobe Acrobat"
              ".ps - Postscript"
              ".log - Surpac log file"))
    (label 
        (position 35 15) 
        (text "Include debug output"
        )
    )
    (field "debug" 
        (position 53 15) 
        (display_length  1) 
        (input allowed)
        (value_in "Y" "N")
        (default "N")
        (translate upper) 
        (null disallowed) 
        (max_length 1)
        )

    (label 
        (position 22 17) 
        (text "Constrain interpolation?"
        )
    )
    (field "constrain" 
        (position 41 17) 
        (display_length  1) 
        (input allowed)
        (value_in "Y" "N")
        (default "N")
        (translate upper) 
        (null allowed) 
        (max_length 1)
        )
  (field "string_file_source" (position 41 18) (display_length  1) (input allowed)
    (value_in "true" "false")
    (default "true") (null disallowed) (max_length 20))

    
    (default_buttons)
)
