Dear @Kal_Lam I want to create a question with specific text (no spaces or characters) just capital letters and numbers with no spaces.
This will be the client ID.
Thanks in advanced.
Dear @Kal_Lam I want to create a question with specific text (no spaces or characters) just capital letters and numbers with no spaces.
This will be the client ID.
Thanks in advanced.
You can do that by putting regex
in your constraint. Hereβs the help article about it: Restricting Text Responses With Regular Expressions β KoboToolbox documentation
In your example you need to use:
regex(., '^[A-Z0-9]+$')
edit: code is fixed.
much appreciated dear.