I’m trying to constraint the answer to a question for a phone number for only numbers and no letters or special characters. I don’t want to limit how many digits the user can enter. I have used this constraint: regex(., ‘[0-9]’)
When I test is using a browser, the constraint works well. However, when I test it using the KoboCollect App, I can only enter one digit, not more.
Did anyone else face similar issue? And could you please suggest a solution?
I do not want to restrict the mobile number to 10 digits. I want it to remain open for as many number of digits. The form is designed to collect information from participants located in different countries with different lengths of their phone number digits.
Let me know if you can help with that. The real issue is that I can enter as many numbers as I want when I use a bowser to fill in the form, but when I use the KoboCollect app, I am only restricted to one digit. I am not sure why there is a discrepancy between the app and the browser.