InfoPath 2010 Tutorial: Validate phone number in InfoPath

In this InfoPath 2010 tutorial video you will learn how to use a regular expression to validate a phone number in InfoPath 2010.

Because phone numbers generally have different formats depending on the country in which you are located, when validating phone numbers in InfoPath, it is best to use regular expressions. Regular expressions are one of several types of data validations you can use in a Validation rule in InfoPath 2010.

The following InfoPath video shows how you can change a regular expression for phone numbers to work in a Validation rule in an InfoPath 2010 form.

In this InfoPath 2010 tutorial video, you learned...

  • How to look for a custom regular expression on the Internet.
  • How to add a validation rule to a field on an InfoPath 2010 form.
  • How to add a does not match pattern condition to an InfoPath 2010 validation rule.
  • How to modify a regular expression so that it works in InfoPath 2010.

Related InfoPath Articles:


Copyright: This article may not be used on web sites (whether personal or otherwise), copied, disseminated, altered, printed, published, broadcasted, or reproduced in any way without an expressed written consent. The techniques demonstrated in this article may be used within any Microsoft InfoPath project. This article is provided without any warranties. Copyright for this article is non-transferrable and remains with the author.