(form "20325" (size 71 17)
    (heading "BLOCK MODEL RECOVERABLE PRODUCT RATIOS")

    (label 
        (position 2 3) 
        (text "Grade attribute")
    )
    (field "grade_att"
        (position 17 3)
        (display_length 12)
        (max_length "BM_MAX_ATT_NAME_LEN")
        (input allowed)
        (null disallowed)
        )

    (field "grd_rat"
        (position 31 3)
        (display_length 7)
        (max_length 8)
        (input allowed)
        (null disallowed)
        (format real_8)
        (value_in non_exclusive "0.000001" "0.00001" "0.0001" "0.001" "0.01" 
                                "0.1" "1" "10" "100" "1000" "10000")
        (default "0.01")
        )
    (label
        (position 2 4)
        (text "Recovery attribute")
    )
    (field "rec_att"
        (position 17 4)
        (display_length 12)
        (max_length "BM_MAX_ATT_NAME_LEN")
        (input allowed)
        (null disallowed)
        )

    (label
        (position 31 2)
        (text "Multiply by")
    )
    (field "rec_rat"
        (position 31 4)
        (display_length 7)
        (max_length 8)
        (input allowed)
        (null disallowed)
        (format real_8)
        (value_in non_exclusive "0.000001" "0.00001" "0.0001" "0.001" "0.01" 
                                "0.1" "1" "10" "100" "1000" "10000")
        (default "0.01")
        )
        
    (label
        (position 43 3)
        (text "Ore attribute")
    )
    (field "ore_att"
        (position 56 3)
        (display_length 12)
        (max_length "BM_MAX_ATT_NAME_LEN")
        (input allowed)
        (null disallowed)
        )
    
    (label
        (position 43 4)
        (text "Ore Value")
    )
    (field "ore_val"
        (position 56 4)
        (display_length 12)
        (max_length 30)
        (input allowed)
        (null disallowed)
        )

    (label
        (position 43 5)
        (text "Waste Value")
    )
    (field "waste_val"
        (position 56 5)
        (display_length 12)
        (max_length 30)
        (input allowed)
        (null disallowed)
        )

    (label 
        (position 5 7) 
        (text "Ore Density")
    )
    (field "ore_density"
        (position 17 7)
        (display_length 12)
        (input allowed)
        (null disallowed)
        (low_bound 0)
        (format real_8)
        (default "2.1")
        )

    (label 
        (position 32 7) 
        (text "Product Density")
    )
    (field "prod_density"
        (position 45 7)
        (display_length 12)
        (input allowed)
        (null disallowed)
        (low_bound 0)
        (format real_8)
        (default "1.01")
        )

    (label
        (position 2 9)
        (text "Store results in:")
    )

    (label
        (position 31 9)
        (text "Recoverable product")
    )
    (field "rb_att"
        (position 17 9)
        (display_length 12)
        (max_length "BM_MAX_ATT_NAME_LEN")
        (null disallowed)
        (input allowed)
        )
    
    (label
        (position 31 10)
        (text "Cumulative ratio")
    )
    (field "cum_att"
        (position 17 10)
        (display_length 12)
        (max_length "BM_MAX_ATT_NAME_LEN")
        (null disallowed)
        (input allowed)
        )
    
    (label
        (position 31 11)
        (text "Individual ratio")
    )
    (field "ind_att"
        (position 17 11)
        (display_length 12)
        (max_length "BM_MAX_ATT_NAME_LEN")
        (input allowed)
        (null disallowed)
        )
    
    (label
        (position 2 13)
        (text "Direction of columns")
    )
    (field "axis"
        (position 23 13)
        (display_length 2)
        (input allowed)
        (null disallowed)
        (value_in "X" "Y" "Z" "-X" "-Y" "-Z")
        (default "-Z")
        )
    
    (label
        (position 2 14)
        (text "Constrain discrimination?")
    )
    (field "constrain"
        (position 23 14)
        (display_length 2)
        (max_length 4)
        (input allowed)
        (null disallowed)
        (value_in "Yes" "No")
        (default "Yes")
        )

    (label
        (position 40 14)
        (text "REPORT_FILE_NAME")
    )
    (field "fname"
        (position 54 14)
        (display_length 18)
        (max_length "FIO_MAX_LOCATION_LENGTH")
        (translate lower)
        (input allowed)
        (null disallowed)
        (file output
            (extension trim "reports|*.not")
        )
        (help   "REPORT_FILE_NAME_TIP"
        ))
    (field "report_format" (position 54 15) (display_length 16)
      (input allowed) (null disallowed)
      (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"))

    (default_buttons)
)
