<?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>General</title><link>https://www.infopathdev.com:443/forums/41.aspx</link><description>If you're not sure where to ask your question, ask it here. If necessary, our moderators will make sure it gets classified in the correct board.</description><dc:language>en</dc:language><generator>CommunityServer 2007 SP3 (Build: 31118.962)</generator><item><title>Re: Disallowing user to enter special charecters</title><link>https://www.infopathdev.com:443/forums/thread/104943.aspx</link><pubDate>Wed, 16 Dec 2015 20:37:06 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:104943</guid><dc:creator>javicartin</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/104943.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=104943</wfw:commentRss><description>&lt;p&gt;&amp;nbsp;Hello Hilary, thank you for your great answers,&lt;/p&gt;&lt;p&gt;I would like to meet this expression.&lt;/p&gt;&lt;p&gt;On the field, I have this expression: nnn/nn-nn-nnn-nnWn&lt;/p&gt;&lt;p&gt;Now, on the rule, I have the following, but now I require that the user can put a number or a letter, please see attachment, what could be the expression to use any number/letter, like changing \d into .&lt;/p&gt;&lt;p&gt;Thanks again &lt;br /&gt;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item><item><title>Re: Disallowing user to enter special charecters</title><link>https://www.infopathdev.com:443/forums/thread/35529.aspx</link><pubDate>Tue, 09 Dec 2008 08:20:43 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:35529</guid><dc:creator>srikrushna</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/35529.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=35529</wfw:commentRss><description>&lt;p&gt;Bingo,&lt;/p&gt;
&lt;p&gt;I tried with this expression :&lt;/p&gt;
&lt;p&gt;\p{L}*\d*|\d*\p{L}*|[\p{L}\d]*&lt;/p&gt;
&lt;p&gt;Working fine !&lt;/p&gt;</description></item><item><title>Re: Disallowing user to enter special charecters</title><link>https://www.infopathdev.com:443/forums/thread/35450.aspx</link><pubDate>Mon, 08 Dec 2008 10:34:28 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:35450</guid><dc:creator>srikrushna</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/35450.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=35450</wfw:commentRss><description>&lt;p&gt;Hi Swathip,&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Fails for these values : a1a1,sa1sa1.&lt;/p&gt;
&lt;p&gt;Basically I am looking for an expression which should not fail for any combination of characters and letters.&lt;/p&gt;</description></item><item><title>Re: Disallowing user to enter special charecters</title><link>https://www.infopathdev.com:443/forums/thread/35445.aspx</link><pubDate>Mon, 08 Dec 2008 10:03:52 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:35445</guid><dc:creator>swathip</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/35445.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=35445</wfw:commentRss><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;To accept the above patterns use the following expressions with or (|) including the above the expressions. &lt;/p&gt;
&lt;p&gt;\p{L}*\d*\p{L}*&lt;/p&gt;
&lt;p&gt;\d*\p{L}*\d*&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;The total expression is like &lt;/p&gt;
&lt;p&gt;\p{L}*\d*|\d*\p{L}*|\p{L}*\d*\p{L}*|\d*\p{L}*\d*&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item><item><title>Re: Disallowing user to enter special charecters</title><link>https://www.infopathdev.com:443/forums/thread/35442.aspx</link><pubDate>Mon, 08 Dec 2008 09:44:44 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:35442</guid><dc:creator>srikrushna</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/35442.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=35442</wfw:commentRss><description>&lt;p&gt;Hi Hillary, &lt;/p&gt;
&lt;p&gt;The above pattern fails for these values : s1s,1a1,sa1s&lt;/p&gt;
&lt;p&gt;Any suggestions on this would be appreciated !&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item><item><title>Re: Disallowing user to enter special charecters</title><link>https://www.infopathdev.com:443/forums/thread/30569.aspx</link><pubDate>Fri, 18 Jul 2008 14:19:49 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:30569</guid><dc:creator>Hilary Stoupa</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/30569.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=30569</wfw:commentRss><description>&lt;p&gt;Hello:&lt;/p&gt;
&lt;p&gt;The following pattern allows only letters and digits, in any order (you can begin with letters or with digits). It allows no other characters, however, including the space character:&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;\p{L}*\d*|\d*\p{L}*&lt;/p&gt;&lt;/blockquote&gt;
&lt;p&gt;I used the &lt;strong&gt;Insert special character dropdown&lt;/strong&gt; in the Data Entry Pattern window to select the following:&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;
&lt;div&gt;Any letter: \p{L}&lt;/div&gt;&lt;/li&gt;
&lt;li&gt;
&lt;div&gt;Zero or more: *&lt;/div&gt;&lt;/li&gt;
&lt;li&gt;
&lt;div&gt;Any digit: \d&lt;/div&gt;&lt;/li&gt;
&lt;li&gt;
&lt;div&gt;Zero or more: *&lt;/div&gt;&lt;/li&gt;&lt;/ol&gt;
&lt;p&gt;I then added a pipe ( &lt;strong&gt;|&lt;/strong&gt; ) for &amp;quot;or&amp;quot; and reversed the pattern so that the field could begin with a letter or a number.&lt;/p&gt;
&lt;p&gt;Hope that helps!&lt;/p&gt;</description></item><item><title>Re: Disallowing user to enter special charecters</title><link>https://www.infopathdev.com:443/forums/thread/30432.aspx</link><pubDate>Mon, 14 Jul 2008 19:51:34 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:30432</guid><dc:creator>doug.hay</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/30432.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=30432</wfw:commentRss><description>&lt;p&gt;Any&amp;nbsp;suggestions on creating a pattern that will allow any combination of letters or numbers but disallow any special characters.&lt;/p&gt;</description></item><item><title>Re: Disallowing user to enter special charecters</title><link>https://www.infopathdev.com:443/forums/thread/29547.aspx</link><pubDate>Fri, 20 Jun 2008 16:10:28 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:29547</guid><dc:creator>Hilary Stoupa</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/29547.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=29547</wfw:commentRss><description>&lt;p&gt;Hi, Vipul:&lt;/p&gt;
&lt;p&gt;&amp;nbsp;You can use data validation. Select Data Validation for the field you wish to limit input on, select Add in the Data Validtion window for Conditions. In the first dropdown you will have the field you have currently selected, in the second, select &amp;quot;does not match pattern&amp;quot; and in the third dropdown select &amp;quot;Select a pattern&amp;quot;. The Data Entry Pattern window opens, and it already has a phone number pattern defined that you can use. Add&amp;nbsp;screen tip and message for your user when data is entered incorrectly and then preview your form and test by entering incorrect data.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item><item><title>Disallowing user to enter special charecters</title><link>https://www.infopathdev.com:443/forums/thread/29306.aspx</link><pubDate>Wed, 11 Jun 2008 10:26:50 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:29306</guid><dc:creator>mehtavipulk</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/29306.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=29306</wfw:commentRss><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;On my InfoPath form I have a Phone Number field. The business requirement is that the user should only be allowed to enter numbers, -, (, ) (i.e. user should only allowed to enter numbers, hyphen, opening bracket &amp;amp; closing bracket).&lt;/p&gt;
&lt;p&gt;In general how do I prompt user when user enters special charecters which we do not want them to enter.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;Regards,&lt;/p&gt;
&lt;p&gt;Vipul Mehta&lt;/p&gt;</description></item></channel></rss>