Forums

Can't validate minimum value digit

easi services 16 Nov, 2016
Hi,

I'm unable to validate a textbox field with a minimum value of 100.
I tried to insert this code : validate['digit[100,-1]'] in the class input box, but it's not working...

I tried to put digit, or number in the validation tab but it's still not working..

Someone can help ?

Cheers,
Max
GreyHead 16 Nov, 2016
Hi Max,

There's no built-in validation for the size of a number but you can do it with a Custom Validation - add the JavaScript function to a Load JavaScript action and add the function name in the Custom function box on the input Validation tab. Please see this FAQ for an example.

Bob
This topic is locked and no more replies can be posted.