Hi @wote,
Welcome to the community! You could do the same as outlined in the image below using regex
code:
In the survey tab of your xlsform:
Data entry screen as seen in Enketo: Error showing while entering a wrong entry
Data entry screen as seen in Enketo: Error not showing while entering a correct entry
Reference xlsform:
Phone Number (Regex).xlsx (10.1 KB)
You could also have a look at our support article Restricting text responses with regular expressions to learn more on regex
.
Have a great day!