XLSForm: How to limit the number of digits

To limit the number of digits that can be entered, proceed as follow:

  1. Use “text” as “type”
  2. Enter the syntax regex(.,’^[0-9]{6}$’) in the “constraint” column to limit at 6 digits
  3. Enter “numbers” in the “appearance” column


Category: Create a New Questionnaire, Questionnaires, Create Questionnaires, Questionnaire > Questionnaire

← Return to search results