<?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>Controls</title><link>https://www.infopathdev.com:443/forums/43.aspx</link><description> </description><dc:language>en</dc:language><generator>CommunityServer 2007 SP3 (Build: 31118.962)</generator><item><title>Re: Data validation fails for all textbox entries when using multiple patterns</title><link>https://www.infopathdev.com:443/forums/thread/21560.aspx</link><pubDate>Mon, 09 Jul 2007 18:45:18 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:21560</guid><dc:creator>Shiraz Cupala</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/21560.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=43&amp;PostID=21560</wfw:commentRss><description>What is your intervening operatior, AND or OR? You need to use OR.</description></item><item><title>Data validation fails for all textbox entries when using multiple patterns</title><link>https://www.infopathdev.com:443/forums/thread/21557.aspx</link><pubDate>Mon, 09 Jul 2007 17:51:16 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:21557</guid><dc:creator>ndiem</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/21557.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=43&amp;PostID=21557</wfw:commentRss><description>&lt;p&gt;I&amp;#39;m working in Infopath 2007 with compatibility for Infopath 2003.&amp;nbsp; &lt;/p&gt;&lt;pre class="WNPost" style="word-wrap:break-word;"&gt;I have a text field that needs to match one of 5 patterns:
(B|P|Q|Z)\d{8}
EN\d{7}
6261B\d{4}
P\d{6}
MD\d{4}

I have tried using the data validation as an expression and also as a series 
of conditions and it always fail if there is more than one condition listed.&amp;nbsp; 

Any ideas why this is happening?&amp;nbsp; Does it require a coded validation?&lt;/pre&gt;</description></item></channel></rss>