How can I create a form with a fillin field that accepts multiple decimal values similar to the Grid spacing Setup menu in APD.
Spacing x: 25.00 25.00 25.00
now the formfield looks like this:
FORMFILE FIELD current_grid_x_gridsFORMFILE FLOC 30 4FORMFILE STRFILLIN 30 256FORMFILE ENDFIELD
The problem is that it accepts all string values..
Thanks in advance
In your form callback routine you would need to have something like this:
unless(rexMatchp("^[-]*[0-9]*[.]*[0-9]+$", formID ->curValue) axlFormRestoreField(form, formID ->curField), axlFormMsg(form, "warningmsg", "Invalid number"))