1

I need to set validation in Sharepoint 2010 Infopath form single line text box as field only allows 5 Alpha and Numeric character types.

For limiting char I followed below step.

Using textbox properties -> Display ->Limit textbox to x Char

I don’t know how to allow only Alpha and Numeric char not allow all special char.

1 Answer 1

2

I got solution for my question.

  1. Open the form in InfoPath designer.
  2. Click on the textbox to add a validation rule.
  3. Set the condition as Field does not match pattern.
  4. Select the custom pattern and enter ([A-Za-z0-9])* in the custom pattern text box.

Reference Click Here

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.