<?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: Field MUST contain a set number of characters</title><link>https://www.infopathdev.com:443/forums/thread/92341.aspx</link><pubDate>Mon, 19 Aug 2013 13:31:41 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:92341</guid><dc:creator>RegolithDev</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/92341.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=92341</wfw:commentRss><description>&lt;p&gt;If the fields are text boxes why not just have them self limit to a certain number of characters?&lt;/p&gt;
&lt;p&gt;The text box limit can be accessed by selecting the field--&amp;gt;Properties--&amp;gt;Control Properties--&amp;gt;Display Tab--&amp;gt;&amp;nbsp; Near the bottom of the dialog box there is a checkbox to &amp;quot;limit text box to&amp;quot; n-Characters.&amp;nbsp; Try that.&amp;nbsp; Might be easier than trying to match a pattern.&amp;nbsp; Unless you want the fields to be able to enter more characters than necessary for security reasons, in which case, you would have to use the pattern method.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Chris&lt;br /&gt;Regolith Inc.&lt;br /&gt;&lt;a href="http://www.regolithinc.com/"&gt;www.regolithinc.com&lt;/a&gt;&lt;/p&gt;</description></item><item><title>Re: Field MUST contain a set number of characters</title><link>https://www.infopathdev.com:443/forums/thread/92308.aspx</link><pubDate>Mon, 19 Aug 2013 00:29:49 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:92308</guid><dc:creator>Patrick Halstead</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/92308.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=92308</wfw:commentRss><description>&lt;p&gt;Yay, way to go Bevan.&lt;/p&gt;
&lt;p&gt;You&amp;#39;re batting 1000. :)&lt;/p&gt;</description></item><item><title>Re: Field MUST contain a set number of characters</title><link>https://www.infopathdev.com:443/forums/thread/92192.aspx</link><pubDate>Tue, 13 Aug 2013 23:31:45 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:92192</guid><dc:creator>Zeb Ahmed</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/92192.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=92192</wfw:commentRss><description>Thanks Bevan, that worked for me! Really appreciate the example as well as it helped me visualise what I needed to do :)</description></item><item><title>Re: Field MUST contain a set number of characters</title><link>https://www.infopathdev.com:443/forums/thread/92186.aspx</link><pubDate>Tue, 13 Aug 2013 21:31:37 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:92186</guid><dc:creator>Bevan S</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/92186.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=92186</wfw:commentRss><description>&lt;p&gt;You can do this with formatting rules, more information available here &lt;a href="http://office.microsoft.com/en-nz/infopath-help/add-formatting-rules-HA101783371.aspx"&gt;http://office.microsoft.com/en-nz/infopath-help/add-formatting-rules-HA101783371.aspx&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Specifically the Data Entry Patterns section of this article. &lt;/p&gt;
&lt;p&gt;Use the &amp;#39;matches pattern&amp;#39; or &amp;#39;does not match pattern&amp;#39; on the text-box control to format it (text or background colour), on another text-box control to show as an error message or to disable the submit button on the page until the pattern matches.&lt;/p&gt;
&lt;p&gt;For example: The rule condition would be... Field1 =&amp;gt; Does not match pattern =&amp;gt; Custom pattern \d\d (for two digits)&lt;/p&gt;</description></item><item><title>Re: Field MUST contain a set number of characters</title><link>https://www.infopathdev.com:443/forums/thread/92179.aspx</link><pubDate>Tue, 13 Aug 2013 18:59:02 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:92179</guid><dc:creator>Zeb Ahmed</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/92179.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=92179</wfw:commentRss><description>&lt;p&gt;
Hi Patrick,&lt;/p&gt;&lt;p&gt;a validation rule makes sense, but HOW exactly would you do it? What are the settings for&amp;nbsp;ensuring people enter in TWO numbers in the box? I&amp;#39;ve read that a pattern might do it but I&amp;#39;ve never used patterns before so I&amp;#39;m clueless on how to make this happen.&lt;/p&gt;</description></item><item><title>Re: Field MUST contain a set number of characters</title><link>https://www.infopathdev.com:443/forums/thread/92160.aspx</link><pubDate>Tue, 13 Aug 2013 04:53:11 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:92160</guid><dc:creator>Patrick Halstead</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/92160.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=92160</wfw:commentRss><description>&lt;p&gt;How about a validation rule?&lt;/p&gt;</description></item><item><title>Field MUST contain a set number of characters</title><link>https://www.infopathdev.com:443/forums/thread/92154.aspx</link><pubDate>Mon, 12 Aug 2013 21:17:45 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:92154</guid><dc:creator>Zeb Ahmed</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/92154.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=92154</wfw:commentRss><description>&lt;p&gt;Hi all,&lt;/p&gt;&lt;p&gt;I have four fields that when concatenated together create a bank number.&lt;/p&gt;&lt;p&gt;Each field MUST have a set amount of numbers in them e.g. 12-1234-1234567-123&lt;/p&gt;&lt;p&gt;So:&lt;/p&gt;&lt;p&gt;Field1 must have 2 numbers&lt;/p&gt;&lt;p&gt;Field2 must have 4 numbers&lt;/p&gt;&lt;p&gt;and so on...&lt;/p&gt;&lt;p&gt;Question is, how can I make this happen? The numbers can change. They MUST be numbers (not text.) I have already set each field to their max limit, but how do I&amp;nbsp;enforce that max limit?&lt;/p&gt;&lt;p&gt;Thanks.&lt;/p&gt;</description></item></channel></rss>