<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://www.infopathdev.com:443/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>InfoPath 2010</title><link>https://www.infopathdev.com:443/forums/142.aspx</link><description>Are you exploring new features coming up in 2010? Share information and ask questions here!</description><dc:language>en</dc:language><generator>CommunityServer 2007 SP3 (Build: 31118.962)</generator><item><title>Re: Data validation error for field with custom pattern validation</title><link>https://www.infopathdev.com:443/forums/thread/122433.aspx</link><pubDate>Thu, 13 Feb 2020 22:59:20 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:122433</guid><dc:creator>Hilary Stoupa</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/122433.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=142&amp;PostID=122433</wfw:commentRss><description>Missed that, sorry - but did you try &amp;quot;and&amp;quot;? Because what you are effectively saying with &amp;quot;or&amp;quot; is that if the data doesn&amp;#39;t match this or that, it is invalid. And it can&amp;#39;t match both. You could also consolidate the pattern. See the attached sample - save locally, right click and select design then you can preview. :)</description></item><item><title>Re: Data validation error for field with custom pattern validation</title><link>https://www.infopathdev.com:443/forums/thread/122430.aspx</link><pubDate>Thu, 13 Feb 2020 20:11:02 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:122430</guid><dc:creator>mstefanik</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/122430.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=142&amp;PostID=122430</wfw:commentRss><description>Hi Hilary, 
I currently have it set as &amp;quot;does not match pattern&amp;quot; using the &amp;quot;or&amp;quot; validation condition so the user will have the option or four or five digits at the end.</description></item><item><title>Re: Data validation error for field with custom pattern validation</title><link>https://www.infopathdev.com:443/forums/thread/122427.aspx</link><pubDate>Thu, 13 Feb 2020 18:48:39 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:122427</guid><dc:creator>Hilary Stoupa</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/122427.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=142&amp;PostID=122427</wfw:commentRss><description>So - your second expression has 5 digits at the end, and your sample value has four (3454). If I add another digit to your sample value, using your second pattern, validation works as anticipated.... I&amp;#39;m wondering if you are using &amp;quot;and&amp;quot; or &amp;quot;or&amp;quot; in the validation conditions? The condition is that the field does not match the pattern, right? So you&amp;#39;d need to use and there - if it doesn&amp;#39;t match both patterns, then it is invalid?</description></item><item><title>Data validation error for field with custom pattern validation</title><link>https://www.infopathdev.com:443/forums/thread/122424.aspx</link><pubDate>Thu, 13 Feb 2020 18:20:53 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:122424</guid><dc:creator>mstefanik</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/122424.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=142&amp;PostID=122424</wfw:commentRss><description>Hi all, 
I&amp;#39;m having an issue with having an InfoPath Form where I have created a data validation rule where the text field will give a validation error unless it does not match one of the patterns below:
&lt;br /&gt;
&lt;br /&gt;
\d\d\p{L}\d\d\d\-\d\d\-\p{L}\p{L}\-\d\d\d\d   (Which gives an example of 00A000-00-AA-0000)
&lt;br /&gt;
&lt;br /&gt;
or 
&lt;br /&gt;
&lt;br /&gt;
\d\d\p{L}\d\d\d\-\d\d\-\p{L}\p{L}\-\d\d\d\d\d     (Which gives an example of 00A000-00-AA-00000)
&lt;br /&gt;
&lt;br /&gt;
Since \d should accept any digit and p{L} should accept any letter a pattern like 56R343-11-CD-3454 should not give a validation error, but it always does.  I even tried putting in the examples the custom pattern showed (00A000-00-AA-0000) but it still gave me a validation error.  Am I overlooking something?</description></item></channel></rss>