Setup regular expression validation on textbox questions

From CjWiki
Jump to navigation Jump to search
  1. . Go to Edit Questions page of your survey
  2. . Click on your question title to edit the question
  3. . Click on Customize tab of your textbox type question
  4. . Enter your regular expression in the "Regular Expression" field.

For example, if you want to restrict user to enter either single or two digit number, enter ^\d{1,2}$