Specific Validation | XM Community
Skip to main content
Solved

Specific Validation

  • January 25, 2019
  • 1 reply
  • 6 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}$`

1 reply

  • 0 replies
  • Answer
  • January 25, 2019
Hello @Akdashboard , Use the below regex in custom validation `^[a-zA-Z0-9]{4}$`