Restrict the phone number to be 10 digit

I’m not able to restrict the phone number to be 10 digit in kobo collect app. I have used regex(,‘[1]{10}$’) but it is not working.
Kindly please help in this.


  1. 0-9 ↩︎

@deepik_a, you will also need to change the question type to text. This should solve your issue.

Yes i used question type as text even though it is not working.

@deepik_a, where did you put the regex expression?

In constraint column section.

Try the following form:

Regex.xlsx (14.2 KB)

1 Like

Thank you @Xiphware.