Table Input - NumberField rows & threshold values

I have a user input table:

    FlexPave.flex_pave_table = Table("Enter your pavement design layers: ", default=_default_flex_table)
    FlexPave.flex_pave_table.text = TextField("Layer Name:")
    FlexPave.flex_pave_table.alpha = NumberField("Design Coefficient, A:", min = 0.0, max = 1.0)
    FlexPave.flex_pave_table.drainage = NumberField("Drainage Coefficient, m:", min=0.0, max=1.5)
    FlexPave.flex_pave_table.thickness = NumberField("Layer thickness, t (in):", min=0.0)

and would like to enforce some restrictions. However, the terminal reads:

“UserWarning:
Setting a minimum value of a field within a table is not supported. Min. boundary of table field ‘thickness’ will be ignored.”

is there a better way to go about this?

Hi George,

Adding a min / max restriction like this is indeed not supported by our table provider.

Workarounds include manually validating the table content by either adding a “Validate” button which a user needs to press, or before you perform a view calculation for example.

But I did notice the field actually turns red when it’s outside the min/max. That’s already a nice addition.

Although it would be really nice if min/max would be properly supported. I recently resorted to an AutoCompleteField with 700 options, which does prevent entering a illegal value, but not the nicest solution.