Regex Constraint working on web but not on Kobo Collect App

Dear Support,
I already built a form and used regex constraint for the mobile number but it is not working. The constraint is regex(., ‘^[0-9]{11}$’) and it is not working.
Please help

Welcome back to the community, @velbon! This is because you must be using the integer question type for this. You will need to change the question type to text and use the numbers appearance.

You may also keep the integer type and adapt the regex(string(.), …)

1 Like