<?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: Validate contents of text field to find a single occurance of an Upper or Lower case character.</title><link>https://www.infopathdev.com:443/forums/thread/96833.aspx</link><pubDate>Wed, 02 Apr 2014 15:57:41 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:96833</guid><dc:creator>JeffVojtko</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/96833.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=96833</wfw:commentRss><description>&lt;p&gt;&amp;nbsp;I had a sort of the same problem. Check out this post - http://www.infopathdev.com/forums/p/27927/96569.aspx#96569&lt;br /&gt;&lt;/p&gt;</description></item><item><title>Re: Validate contents of text field to find a single occurance of an Upper or Lower case character.</title><link>https://www.infopathdev.com:443/forums/thread/96110.aspx</link><pubDate>Tue, 25 Feb 2014 16:01:17 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:96110</guid><dc:creator>VenUK</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/96110.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=96110</wfw:commentRss><description>&lt;p&gt;UPDATE:&lt;/p&gt;&lt;p&gt;I&amp;#39;ve managed to resolve this. But to do it was very convoluted. I had to add 4 new Textboxes (Because for some reason you can&amp;#39;t hide checkboxes with a format rule) with default values of FALSE. Each Textbox represented the different things I was looking for i.e. Uppercase letter, Lowercase letter, Digit and Special character. I then had to create multiple rules on the text input that would check for the existence of a letter so the rules where grouped A-E (As you can only have 5 conditions per rule) F-J, K-0 etc and each one would if the letter was missing set the value of the Textbox called &amp;quot;UppercaseIsPresent&amp;quot; to &amp;quot;TRUE&amp;quot;.&lt;/p&gt;&lt;p&gt;Let me flesh that out a bit the first rule&amp;nbsp;checked for 5 separate letters.&amp;nbsp;&lt;/p&gt;&lt;p&gt;Password&amp;nbsp;does not contain &amp;quot;A&amp;quot; or&amp;nbsp;&lt;/p&gt;&lt;p&gt;Password&amp;nbsp;does not contain &amp;quot;B&amp;quot; or&amp;nbsp;&lt;/p&gt;&lt;p&gt;Password&amp;nbsp;does not contain &amp;quot;C&amp;quot; or&amp;nbsp;&lt;/p&gt;&lt;p&gt;Password&amp;nbsp;does not contain &amp;quot;D&amp;quot; or&amp;nbsp;&lt;/p&gt;&lt;p&gt;Password&amp;nbsp;does not contain &amp;quot;E&amp;quot;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;Action:&lt;/p&gt;&lt;p&gt;UppercaseIsPresent&amp;nbsp;value = TRUE&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;So I had to do that for all uppercase letters and all lowercase letter and all numbers and all the symbols.&amp;nbsp;Not a pretty solution but it does work ok. The only&amp;nbsp;additional issue I came up with was hiding the controls on the page because when the textbox control was updated with a new value it became visible again on the page. So I added format rules to say if the Textbox was equal to True or the Textbox&amp;nbsp;was equal to false then the format was Hidden.&lt;/p&gt;&lt;p&gt;This was so frustrating and&amp;nbsp;unnecessarily&amp;nbsp;difficult I would have though that there would have been some basic string search functionality&amp;nbsp;&lt;/p&gt;</description></item><item><title>Validate contents of text field to find a single occurance of an Upper or Lower case character.</title><link>https://www.infopathdev.com:443/forums/thread/96071.aspx</link><pubDate>Fri, 21 Feb 2014 17:07:15 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:96071</guid><dc:creator>VenUK</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/96071.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=96071</wfw:commentRss><description>&lt;p&gt;Hi All&lt;/p&gt;&lt;p&gt;Sorry&amp;nbsp;if I&amp;#39;m covering old ground for you guys but I&amp;#39;ve been banging my head on&amp;nbsp;wall with this and I&amp;#39;m beginning to&amp;nbsp;think it&amp;#39;s not possible.&lt;/p&gt;&lt;p&gt;The situation is: I have an Infopath&amp;nbsp;form attached to a list with custom columns in SharePoint 2010&amp;nbsp;that contains various fields to populate new items in to the list and that is all fine and dandy. The problem is one of the field is a password field and must be validated to conform to the strong password style of must contain at least &amp;nbsp;1 Uppercase, 1 Lowercase, 1 Digit, 1 Symbol and at least 8 character long. I&amp;#39;ve been all over the web to back of beyond trying with regular expressions and formulas and even seen some options using the translate function but nothing seems to do the trick. Regular expressions in rules&amp;nbsp;using the &amp;quot;Does not match pattern&amp;quot; just doesn&amp;#39;t seem to work in quite the right way&amp;nbsp;i.e. a regex of [a-zA-Z0-9\p{S}]+ doesn&amp;#39;t seem to enforce the you must have 1 Upper, 1 Lower etc.... Any other examples I&amp;#39;ve tried to use just give me the &amp;quot;Invalid Pattern&amp;quot;.&lt;/p&gt;&lt;p&gt;First am I going about this in the right way or is there a better way of doing it?&lt;/p&gt;</description></item></channel></rss>