What is Text Validation?
The Single Line Text question allows you to add validation rules to help ensure that your respondents’ answers are formatted correctly and to help prevent data entry errors. When validation is added to your single line text questions, respondents will receive an error message if their responses don’t match the validation rules. Validation options include:
– Date (MM/DD/YYYY or DD/MM/YYYY)
– Alpha-numeric string
– Letters Only
– Email Address
– Numeric Characters Only
– Postal Code (US/Canada)
– Phone Numbers (North America)
– Social Security Number
– String – Uppercase
– String – Lowercase
To add validation to your Single Line Text questions:
1. Add a Single Line Text Question to your survey.
2. Under ‘Behavior’ select the answer format you want to enforce, such as ‘Email Address’.
3. Test this question to make sure it is operating the way you expected.
For example, if the respondent enters an invalid email address they will be notified of this error and have the ability to update their response. If they enter a valid email address format, they should be able to proceed in the survey.
*Important Note: Validation rules like Email Address and Phone Number will only validate that the format of the answer is correct, not that the answer is an actual email address or phone number.