Regular Expression Not Working to Validate Control

  • 26 March 2021
  • 0 replies
  • 71 views

Userlevel 5
Badge +19
ISSUE
When using a regular expression to validate a control to only recognize numeric values, the validation does not work.
ERROR CODE
RESOLUTION
  1. Go to control settings.
  2. Open validation section.
  3. Change Use a regular expression to Yes.
  4. Add one of the following expressions:
    • ^[0-9]+$
    • ^[0-9]
  5. Add an error message if desired.
ADDITIONAL INFORMATION
RELATED LINKS

0 replies

Be the first to reply!

Reply