Text entry validation | XM Community
Skip to main content
Question

Text entry validation

  • May 13, 2021
  • 1 reply
  • 30 views

I am setting up a form to collect postal addresses. Is there a way that I can add a validation to the text entry field that will allow recipients to enter a mix of numbers and letters (e.g. 10 Street Road) but prevent punctuation or special characters?

1 reply

Mishraji
Level 4 ●●●●
Forum|alt.badge.img+18
  • Level 4 ●●●●
  • May 16, 2021

You can use custom validation and set it to the following regular expression - [^A-Za-z0-9].