Avatar

Correct answer by
Level 7

It is probably best to use a numeric field rather than a text field if you only want numbers but either way you can put in the exit event of the field (in formcalc):

if ($ < 3) then

xfa.host.messageBox("The value cannot be less than 3")

$ = ""

endif

View solution in original post