Hello!
I'm wondering how to disallow spaces and certain characters in a text field. Basically I only want to allow numbers, letters and dashes. No white space at all, and no other characters. I'm using this field as an ID throughout the site and find spaces really mess up some of my links. I started putting data validation on that field using the "contains" option, but then I realized that there are a lot of characters I want to prevent and I can't just check for each one by one.
For example: MC-001-01 is good but MC 001 01 is bad
I'm familiar with regular expressions (although it's been awhile) in asp pages but not sure how to put that into an infopath form. I would like a codeless way to do this since I don't have permissions right now for code in infopath forms.
Your suggestions are appreciated!
Thanks!!