<?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: Substring Validation Using Custom Pattern Matching</title><link>https://www.infopathdev.com:443/forums/thread/96486.aspx</link><pubDate>Mon, 17 Mar 2014 15:10:52 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:96486</guid><dc:creator>JeffVojtko</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/96486.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=142&amp;PostID=96486</wfw:commentRss><description>The way I was firing an error on the textbox field was to set a second field with the value of Error in err situation and Good in situations where the text passed validation. And, in the first textbox I was messing around with different custom validation rules and having no luck getting them to work. So, I deleted the old rules and put in two new rules and viola, it all of a sudden worked with the following:&lt;br /&gt;&lt;br /&gt;Good - xdUtil:Match(string(substring(., 14, 3)), &amp;quot;\d\d\d&amp;quot;)&lt;br /&gt;Error - not(xdUtil:Match(string(substring(., 14, 3)), &amp;quot;\d\d\d&amp;quot;))&lt;br /&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item><item><title>Substring Validation Using Custom Pattern Matching</title><link>https://www.infopathdev.com:443/forums/thread/96447.aspx</link><pubDate>Fri, 14 Mar 2014 12:52:34 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:96447</guid><dc:creator>JeffVojtko</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/96447.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=142&amp;PostID=96447</wfw:commentRss><description>&lt;p&gt;I have a 40 character string inside a textbox where the 14, 15 and 16 characters must be numeric.&lt;/p&gt;&lt;p&gt;I am trying to get either on of these custom patterns to work - &lt;/p&gt;&lt;p&gt;xdUtil:Match(string(substring(., 14, 3)), &amp;quot;\d\d\d&amp;quot;)&lt;br /&gt;xdUtil:Match(string(substring(., 14, 3)), &amp;quot;\[0-9]\[0-9]\[0-9]&amp;quot;)&amp;nbsp;&lt;/p&gt;&lt;p&gt;But, neither of these patterns seem to validate that the 14th and next two characters are digits. &lt;br /&gt;&lt;/p&gt;</description></item></channel></rss>