(form "20609"
    (size 56 14)
    (heading "CREATE FAULT FROM TRACE"
    )

    (label
        (position 2 3)
        (text "Traces in"
        )
    )
    (field "use_seg"
        (position 10 3)
        (display_length 10)
        (input allowed)
        (value_in "string" "segment"
        )
        (translate lower)
        (null disallowed)
        (default "segment")
        )

    (label 
        (position 2 5)
        (text "Upper elevation limit"
        )
    )
    (field "upper"
        (position 17 5)
        (display_length 12)
        (max_length 32)
        (input allowed)
        (null allowed)
        (format real_8)
        )

    (label 
        (position 2 6)
        (text "Lower elevation limit"
        )
    )
    (field "lower"
        (position 17 6)
        (display_length 12)
        (max_length 32)
        (input allowed)
        (null allowed)
        (format real_8)
        )

    (label
        (position 30 5)
        (text "Dip"
        )
    )
    (field "dip"
        (position 40 5)
        (display_length 10)
        (max_length 32)
        (input allowed)
        (translate upper)
        (value_in non_exclusive
            "D1" "D2" "D3" "D4" "D5" "D6" "D7" "D8" "D9" "D10"
            "D11" "D12" "D13" "D14" "D15" "D16" "D17" "D18" "D19" "D20"
            "D21" "D22" "D23" "D24" "D25" "D26" "D27" "D28" "D29" "D30"
            "D31" "D32" "D33" "D34" "D35" "D36" "D37" "D38" "D39" "D40"
            "D41" "D42" "D43" "D44" "D45" "D46" "D47" "D48" "D49" "D50"
            "D51" "D52" "D53" "D54" "D55" "D56" "D57" "D58" "D59" "D60"
            "D61" "D62" "D63" "D64" "D65" "D66" "D67" "D68" "D69" "D70"
            "D71" "D72" "D73" "D74" "D75" "D76" "D77" "D78" "D79" "D80"
            "D81" "D82" "D83" "D84" "D85" "D86" "D87" "D88" "D89" "D90"
            "D91" "D92" "D93" "D94" "D95" "D96" "D97" "D98" "D99" "D100"
        )
        (null disallowed)
        )

    (label
        (position 30 6)
        (text "Dip Direction"
        )
    )
    (field "dip_dirn"
        (position 40 6)
        (display_length 10)
        (max_length 32)
        (input allowed)
        (translate upper)
        (value_in non_exclusive
            "D1" "D2" "D3" "D4" "D5" "D6" "D7" "D8" "D9" "D10"
            "D11" "D12" "D13" "D14" "D15" "D16" "D17" "D18" "D19" "D20"
            "D21" "D22" "D23" "D24" "D25" "D26" "D27" "D28" "D29" "D30"
            "D31" "D32" "D33" "D34" "D35" "D36" "D37" "D38" "D39" "D40"
            "D41" "D42" "D43" "D44" "D45" "D46" "D47" "D48" "D49" "D50"
            "D51" "D52" "D53" "D54" "D55" "D56" "D57" "D58" "D59" "D60"
            "D61" "D62" "D63" "D64" "D65" "D66" "D67" "D68" "D69" "D70"
            "D71" "D72" "D73" "D74" "D75" "D76" "D77" "D78" "D79" "D80"
            "D81" "D82" "D83" "D84" "D85" "D86" "D87" "D88" "D89" "D90"
            "D91" "D92" "D93" "D94" "D95" "D96" "D97" "D98" "D99" "D100"
        )
        (null disallowed)
        )

    (label
        (position 2 8)
        (text "String IDs"
        )
    )

    (label
        (position 4 9)
        (text "Surface"
        )
    )
    (field "surf_strid"
        (position 10 9)
        (display_length 12)
        (input allowed)
        (low_bound 1)
        (high_bound 32000)
        (format integer_2)
        (max_length 5)
        (null disallowed)
        )

    (label
        (position 22 9)
        (text "Trace"
        )
    )
    (field "result_strid"
        (position 27 9)
        (display_length 12)
        (input allowed)
        (low_bound 1)
        (high_bound 32000)
        (format integer_2)
        (max_length 5)
        (null disallowed)
        )

    (label
        (position 38 9)
        (text "Boundary"
        )
    )
    (field "bdy_strid"
        (position 45 9)
        (display_length 6)
        (input allowed)
        (format integer_2)
        (null disallowed)
        (low_bound 1)
        (high_bound 32000)
        (max_length 5)
        (dependency (value "use_seg") == "segment")
        )

    (label
        (position 2 11)
        (text "Output layer"
        )
    )
    (field "layer"
        (position 12 11)
        (display_length 10)
        (input allowed)
        (max_length "APP_MAX_LAYER_NAME_LENGTH")
        (translate lower)
        )
    (field "object_id"
        (position 10 9)
        (display_length 12)
        (input allowed)
        (format integer_2)
        (null disallowed)
        (low_bound 1)
        (high_bound 32000)
        (max_length 5)
        )
    (field "object_name"
        (position 12 11)
        (display_length 12)
        (input allowed)
        (translate lower)
        )
    (default_buttons)
)
