Quantcast
Channel: SharePoint Legacy Versions - Using SharePoint Designer, InfoPath and Other Customizations Forum
Viewing all articles
Browse latest Browse all 2319

Data validation and custom patterns

$
0
0

I am trying to create a custom pattern for an InfoPath form that will follow the following format:

[IRxxxxxx] the x's are numbers and will change but I need to have the '[IR' and the closing bracket ']'.

I have a rule that if the pattern is not matched that a message comes up saying 'Use this format...[IRXXXXXX].

I have tried the following custom patterns:

[IR\d\d\d\d\d\d] - The rule does not recognize that the pattern is matched and shows the message.

[IR\d*] - Pattern not recognized and popup message appears

What is the correct syntax for the mixed text/interger entery I need?

InfoPath Office 2010


Viewing all articles
Browse latest Browse all 2319

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>