How To: Add Question Validation

You can use the “Validation” section to control what values your survey will accept. You can use validation to make sure that participants fill out the required fields. Question validation can also ensure that responses are entered in the correct format. 

For example, you can add validation to make sure that participants can only enter a date in the Birthday field. Survey questions do not include validation by default. However, you can add validation to any question needed.

validation_find_it.png

Required Error Text

You can choose to make important questions required. Participants will receive an error message if they don’t answer required questions. The default error message will say “Please answer the question.” Users can override the default error message with their own customized message.

    1. Use the “Toolbox” to create your survey question 
    2. Go to the “Properties” panel
    3. Go to the “General section” and toggle “is required” to ON
    4. Scroll down to the “Validation” section
    5. Enter your preferred error text in the “Required error text” field

validation_required_error_text.png

Validators

Validators allow you to create custom expressions to compare the entered data against. You can add further validators based on the type of question. Validators can block survey submissions until the response is correct. 

For example, you may want to know your participant’s height in feet and inches. There are only 12 inches in 1 foot, so you can’t have 13 or more inches. You can add a “max validator” so participants can’t type in 13 or more inches. You can add a customized error text in the “Text” field as well to instruct participants on how to fill out that field.

Example: Adding Email Validation

  1. Use the “Toolbox” to add a Single Input question 
  2. Navigate to the “Properties” panel 
  3. Scroll down to the “Validation” section
  4. Choose the “+” icon under “Validators” 
  5. Select “Email”. This will make sure that the participant can only enter an email address in this field
  6. In the “Text” field you can enter custom text that will display if the entered response is not a valid email address.

 

 

 

Was this article helpful?
0 out of 0 found this helpful

Comments

0 comments

Please sign in to leave a comment.