Limiting the response either one of two conditions

Hi,
I need to collect some numbers which are either 6 digit or 11 digit in the same question. Respondent can provide any one of the two information. It is optional for data collectors to choose any one numbers of 6 digit or 11 digit. Now, how can I restrict them to be able to input only either 6 digit or 11 digit numbers in the same response? Thanks in advance for the support.

Maybe this post discussed previously should help you solve your issue:

To learn more on regex, please feel free to go through our support article Restricting Text Responses With Regular Expressions.

1 Like