Skip to main content
Answered

Verifying the format is correct


Hello,

We need to ask for an ID number in our form. Is there a way for the question to verify that the format is correct? Something like with the email type of question, but for other data (like the ID in this case).

Thanks!!

Best answer by john.desborough

@FermínZ @Liz - you can match to a specific value ie 00000000-A but it is NOT going to act as a validation mask ie the user can enter any code that is ‘nnnnnnnn-A’ where n = a number and A is a capital letter. 

for example it would find: contains  ‘@gmail.com’ in an email address field like yourname@gmail.com 

des

View original

6 replies

Liz
Community Team
Forum|alt.badge.img+5
  • Tech Community Advocate
  • 14521 replies
  • October 18, 2021

Hi @FermínZ Hope you’re having a wonderful Monday! If you don’t have a lot of IDs, you could use logic jumps to check for certain ones. Otherwise, you could have the logic jump search for different characters using the ‘contains’ option like this: 

Would something like this work for you? 


  • Author
  • Explorer
  • 2 replies
  • October 18, 2021

Hi, Liz. 

Thank you for your response :)

So, if the ID format has to have 8 numbers and one letter, examples: 

  • 00000000A
  • 00000000-A
  • A00000000
  • A-00000000

How can I ask for that in the field “value here”? 

Thank you again!

Best,

Fermín


Liz
Community Team
Forum|alt.badge.img+5
  • Tech Community Advocate
  • 14521 replies
  • October 18, 2021

Ohh, I see. I’m not sure if it’s possible to ask for a specific value ( @john.desborough may know), but you could have it look for the letters by using the ‘contains.’ In this case, you would enter the letter it should include where it says, “value here.”


john.desborough
Forum|alt.badge.img+6
  • Certified Partner & Champion
  • 5182 replies
  • Answer
  • October 18, 2021

@FermínZ @Liz - you can match to a specific value ie 00000000-A but it is NOT going to act as a validation mask ie the user can enter any code that is ‘nnnnnnnn-A’ where n = a number and A is a capital letter. 

for example it would find: contains  ‘@gmail.com’ in an email address field like yourname@gmail.com 

des


  • Author
  • Explorer
  • 2 replies
  • October 18, 2021

I understand - thank you so much for your help!!


Liz
Community Team
Forum|alt.badge.img+5
  • Tech Community Advocate
  • 14521 replies
  • October 19, 2021

Thanks, @john.desborough !!