How can I have 2 specific validation requirements for one question? | XM Community
Skip to main content

If I want respondents to only be able to answer a text entry question by typing exactly 9 digits AND these 9 characters can only be numbers, how can I do that? 

Right now, I have it set to validate with a character range of min of 9 and max of 9. The problem is that this still allows people to type in letters or other symbols, rather than only numbers. 

You can use matches regex ^[0-9]{9}$


@ash123 Set validation to match regex ^\d{9}$

 


Perfect, thank you!!


Leave a Reply