Best answer by Anonymous
View originalHow do I create a validation where I need to enter a study ID that has letters and numbers
I need to create a validation that's 12 charters (letters and numbers). Can someone provide the right regex strip to provide into the custom validation box? Thank you
Never mind it worked!! Thanks so much for your help!!!
Yes I am
!
!
A
> @salmeida said:
> Hi, thanks for you help but when I preview the survey it still doesn't work
>
I hope you are using match regex option in custom validation
> Hi, thanks for you help but when I preview the survey it still doesn't work
>
I hope you are using match regex option in custom validation
Hi, thanks for you help but when I preview the survey it still doesn't work
A
Hello @salmeida ,
Use this regex code: `^(?=.*[A-Za-z])(?=.*\\d)[A-Za-z\\d]{12}$`
The above will force respondent to enter 12 charters (letters and numbers)
Use this regex code: `^(?=.*[A-Za-z])(?=.*\\d)[A-Za-z\\d]{12}$`
The above will force respondent to enter 12 charters (letters and numbers)
Leave a Reply
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.