How to add a validation for a text feild to accept only integer numbers only without commas as shown below
1234343
How to add a validation for a text feild to accept only integer numbers only without commas as shown below
1234343
Hi
You can use Regex (Regular Expression) as the validation method
\d*
Means accept 0 or more digits
\d{2,6}
Means accept between 2-6 digit
it is accept string also, How it can be accept only numbers
Sorry.
Is this a Text-Short field? And is the field to accept only numerical values or digits?
If Yes,
Set Validation to Regular Expression
Set the Pattern
Exactly 4 digits eg “1234” | ^(\d{4})$ |
Between 2-8 digits | ^(\d{2,8})$ |
Exactly 3 or 5 digits “123” or “12345” | ^(\d{3}|\d{85)$ |
One more digits | ^(\d)$ |
yes text short feild, put all those patterns doesn’t work
Can you provide examples of what will be accepted and what should failed?
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.