(form "20104" (size 45 11)
  (heading "BLOCK MODEL REPORT FORMAT FILE")

  (label(position 2 3)(text "Format File Name") )
  (field "fname"
    (position 20 3)
    (display_length 20)
    (input allowed)
    (translate lower)
    (null allowed)
    (max_length 30)
    (file(extension "*.bmr"))
    )
  (label(position 2 4)(text "Output Report File Name"))

  (field "report_name" (position 20 4) (display_length 20) (input allowed)
    (translate lower) (null disallowed) (max_length 26)
    (file output (extension trim "*.not,*.csv,*.htm,*.html,*.rtf,*.pdf,*.ps"))
    )

  (label(position 2 5)(text "Output Report File Format"))

  (field "report_format" (position 20 5) (display_length 20) (input allowed)
    (null disallowed) (max_length 50)
    (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")
    )

  (label(position 2 6)(text "Report Type"))
  
  (field "report_type" (position 18  6) (display_length  10) (input allowed)
    (value_in "Standard" "Multiple") (default "Standard")
    (null disallowed)
  )

  (label(position 2 7)(text "Indicator Kriged Model") )
  (field "ik_cutoffs"
    (position 13 7)
    (display_length 3)
    (input allowed)
    (null disallowed)
    (max_length 4)
    (value_in "Yes" "No") 
    (default "No")
    )
  (field "ikMeanGrade"
    (position 13 7)
    (display_length 3)
    (input allowed)
    (null disallowed)
    (max_length 4)
    (value_in "stringFile" "cutoffMean") 
    (default "cutoffMean")
    )
  (field "IKMethod"
    (position 13 7)
    (display_length 3)
    (input allowed)
    (null disallowed)
    (max_length 4)
    (value_in "cff" "gradeAndTonnes") 
    (default "cff")
    )
  (label(position 2 7)(text "Modify Format ") )
  (field "modify"
    (position 13 7)
    (display_length 3)
    (input allowed)
    (null disallowed)
    (dependency (value "fname") != "")
    (max_length 4)
    (value_in "Yes" "No") 
    (default "No")
    )

  (label(position 2 8)(text "Constrain ?") )

  (field "constrain"
    (position 13 8)
    (display_length 4)
    (input allowed)
    (null disallowed)
    (max_length 7)
    (value_in "Yes" "No") 
    (default "Yes")
    (help "")
    )
  (default_buttons)
)
