Specific Validation | Experience Community
Skip to main content
Solved

Specific Validation

  • Jan 25, 2019 8:44 PM UTC
  • 1 reply
  • 24 views

Akdashboard
Level 4 ●●●●
Forum|alt.badge.img+6
Hello community! I need to make a custom validation to an open-ended feedback box for a specific format. I am asking people to submit their employee number which has the following structure: * Is exactly 4 characters long. * Is alphanumeric Anyone know how to do this? Mainly I want to make sure people put exactly 4 characters in to the text entry box.

Best answer by Anonymous

Hello @Akdashboard , Use the below regex in custom validation `^[a-zA-Z0-9]{4}$`
View original

1 reply

  • Answer
  • Jan 25, 2019 9:13 PM UTC
Hello @Akdashboard , Use the below regex in custom validation `^[a-zA-Z0-9]{4}$`