Specific Validation | XM Community
Skip to main content
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.
Hello @Akdashboard ,

Use the below regex in custom validation

`^[a-zA-Z0-9]{4}$`