<?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>Newbie Questions</title><link>https://www.infopathdev.com:443/forums/39.aspx</link><description>New to InfoPath? Search to see if your question has already been answered. If it has not, then ask it here or the appropriate topic forum.</description><dc:language>en</dc:language><generator>CommunityServer 2007 SP3 (Build: 31118.962)</generator><item><title>Re: Does authentication by number pattern even work in InfoPath?</title><link>https://www.infopathdev.com:443/forums/thread/124320.aspx</link><pubDate>Sat, 07 Aug 2021 00:12:31 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:124320</guid><dc:creator>Daryl K</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/124320.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=124320</wfw:commentRss><description>Thank you Hillary. Just before you responded I figured out I was doing something really stupid: had the drop-down set to &amp;quot;Matches pattern&amp;quot; instead of &amp;quot;Does not match pattern.&amp;quot;&lt;br /&gt;&lt;br /&gt;

It had been a while and I was a little &amp;#39;rusty&amp;#39; coming back to InfoPath.&lt;br /&gt;&lt;br /&gt;

Best regards and thanks again for responding!</description></item><item><title>Re: Does authentication by number pattern even work in InfoPath?</title><link>https://www.infopathdev.com:443/forums/thread/124318.aspx</link><pubDate>Fri, 06 Aug 2021 23:31:08 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:124318</guid><dc:creator>Hilary Stoupa</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/124318.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=124318</wfw:commentRss><description>Validation using patterns works. See attached - save the linked file locally, right click and select design, then preview. Your first pattern was right. Your second doesn&amp;#39;t match your description, so I went with the description.</description></item><item><title>Does authentication by number pattern even work in InfoPath?</title><link>https://www.infopathdev.com:443/forums/thread/124310.aspx</link><pubDate>Thu, 05 Aug 2021 19:41:50 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:124310</guid><dc:creator>Daryl K</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/124310.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=124310</wfw:commentRss><description>So I am trying to do some basic authentication for the final year or so of our InfoPath tools, and am running into two very curious issues.&lt;br /&gt;&lt;br /&gt;

The first field needs to always be a three-letter combination, to stand for city location (i.e. TWB). I have the authentication rule set to &amp;quot;must match pattern&amp;quot; and the pattern is this: &lt;b&gt;\p{L}\p{L}\p{L} &lt;/b&gt;&lt;br /&gt;
...which I understand is three letters. &lt;br /&gt;&lt;br /&gt;

No matter what I enter it is always errored, even the (required) TWB or twb, it&amp;#39;s always highlighted and won&amp;#39;t let me save. So I delete the authentication to try the next rule.&lt;br /&gt;&lt;br /&gt;

The next field is a much more complicated, but has a different issue. &lt;br /&gt;&lt;br /&gt;

It has to look like this:&lt;br /&gt;&lt;br /&gt;
First Digit = Always a Letter&lt;br /&gt;
Second, Third, Fourth Digit = Always number, letter, letter&lt;br /&gt;
Fifth Digit = Either&lt;br /&gt;
Sixth, Seventh Digit = Either&lt;br /&gt;
Eight, Ninth, Tenth Digits = Always number&lt;br /&gt;&lt;br /&gt;

So I added authentication based on a pattern, with the pattern looking like this: &lt;b&gt;\p{L}\d\p{L}\p{L}..\d\d\d\d &lt;/b&gt; &lt;br /&gt;
..but this one doesn&amp;#39;t error no matter what I do. I can type in all letters and all numbers and it doesn&amp;#39;t care - it never shows the dotted red line and allows you to save too.&lt;br /&gt;&lt;br /&gt;

Am I doing something stupid wrong, or does tis feature just not work?</description></item></channel></rss>