How to make an input mask for an answer?

Hi everybody,

I m a new user of kobotoolbox. So sorry if my question is a bit simple for you.
I’d like to restrict the answer of a question: the answer mist be 3 capital letter and 3 number. ex: DER123. How to proceed?

Thanks in advance



Welcome @Franck,
Would you mind to have a lok at the Help Center articles, please.

1 Like

@Franck, you could try this regex code:

regex(., '^[A-Z]{3}[0-9]{3}$')

Feel free to visit here for all regex discussions that have happened in the past.