How to enter "001, 002 ..."

Hi @Huy_Tron! I see two problems:

  1. If you want to use a regular expression constraint on a number, make sure that the type of your question is text and appearance is numbers. This is because regular expressions only apply to strings.
  2. Don't put spaces. It should be [0-9][0-9][0-9], not [0-9] [0-9] [0-9]. Actually, you could reduce the regex to '[0-9]{3} and that would also work.

What I mentioned above is described in great detail in our docs at https://docs.opendatakit.org/form-regex. I'd encourage you to read those docs if you have more regex questions.

Also, when you get a chance, please introduce yourself here. It helps build community!

1 Like