Sunday 2 March 2014

Infopath Text Box will allow only alphanumeric characters

Infopath Text Box will allow only alphanumeric characters
Select the textbox
Add new rule
Select Validation
From Condition
Click on None
From popup, select Textbox control name in the first dropdown
from 2nd ddl, does not match pattern
in the 3rd ddl select the pattern
Click on Custom patters
Enter below pattern
([A-Za-z0-9 \-])*
In the screen Tip:
Title will allow only alphanumeric characters.