Skip to main content
Nintex Community Menu Bar

Numeric Validation

  • February 6, 2015
  • 1 reply
  • 286 views



 

Symptoms


How to validate (in the onkeypress event) a text box in order to only allow numbers and the decimal point.
 

Diagnoses


None
 

Resolution

You can use the validation pattern on the textbox control via regular expression, see link below.
http://stackoverflow.com/questions/2811031/decimal-or-numeric-values-in-regular-expression-validation

-Navigate to the textbox properties, add a new pattern (^[1-9]d{0,2}(.d{3})*(,d )?$).




 

1 reply

Forum|alt.badge.img+7
  • January 14, 2016

I am trying to create a validation pattern that allows currency amouts less that $192.31. I can validate a valid number is entered but how can I chedck it is less than 192.31