Hi
I am asking participants to fill in a code for identification. I want this to only consist of 2 capital letters. I am currently using this code in the validation: ^[A-Z]{2,2}$ I thought this would only allow capitals but it allows lowercase too. Does anyone have suggestions for changing it please? Many thanks.
Page 1 / 1
Susan_Gibson
Try this: (It only allows 2 letters from A-Z in uppercase e.g. AF)
/^[A-Z]{2}$/
Hope it helps!
https://community.qualtrics.com/XMcommunity/discussion/comment/52629#Comment_52629Thanks Deepak, that works perfectly.
Leave a Reply
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.