<?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>Code</title><link>https://www.infopathdev.com:443/forums/45.aspx</link><description /><dc:language>en</dc:language><generator>CommunityServer 2007 SP3 (Build: 31118.962)</generator><item><title>Re: Preformat a Text box field with "   -  -    " so that the user can just type numbers for a SSN number.</title><link>https://www.infopathdev.com:443/forums/thread/37271.aspx</link><pubDate>Sat, 17 Jan 2009 07:36:08 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:37271</guid><dc:creator>swathip</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/37271.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=45&amp;PostID=37271</wfw:commentRss><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;We can add a validation using the custom patterns so that if the user enters the wrong format (other than SSN) you can let the user to enter correct format by showing a screen tip.&lt;/p&gt;
&lt;p&gt;For this follow the below steps.&lt;/p&gt;
&lt;p&gt;1. Go to data validation of the text box.&lt;/p&gt;
&lt;p&gt;2. Click Add. Select the text box field in the first drop down, does not match pattern in second drop down and select social security number from the standard patterns. Click ok.&lt;/p&gt;
&lt;p&gt;3. Write the screen tip that you want to display to the user when he enters wrong format.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item><item><title>Re: Preformat a Text box field with "   -  -    " so that the user can just type numbers for a SSN number.</title><link>https://www.infopathdev.com:443/forums/thread/37265.aspx</link><pubDate>Sat, 17 Jan 2009 06:20:58 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:37265</guid><dc:creator>Shiva</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/37265.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=45&amp;PostID=37265</wfw:commentRss><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;We can add the custom validation like how user should be entering that value. In this case we have to give one example of giving input values of SSN number. Otherwise we can add the one more expression box to beside the text box. If user enters the value in text box then we will show your SSN format in that expression. If that expression is not matches then we will give the validation.&lt;/p&gt;</description></item><item><title>Re: Preformat a Text box field with "   -  -    " so that the user can just type numbers for a SSN number.</title><link>https://www.infopathdev.com:443/forums/thread/37258.aspx</link><pubDate>Sat, 17 Jan 2009 05:08:15 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:37258</guid><dc:creator>Anuma</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/37258.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=45&amp;PostID=37258</wfw:commentRss><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Can you verify below link.&lt;/p&gt;
&lt;p&gt;&lt;a href="http://blogs.msdn.com/infopath/archive/2006/11/13/powerful-declarative-logic-phone-number-parsing.aspx"&gt;http://blogs.msdn.com/infopath/archive/2006/11/13/powerful-declarative-logic-phone-number-parsing.aspx&lt;/a&gt;&lt;/p&gt;</description></item><item><title>Preformat a Text box field with "   -  -    " so that the user can just type numbers for a SSN number.</title><link>https://www.infopathdev.com:443/forums/thread/37256.aspx</link><pubDate>Sat, 17 Jan 2009 01:08:52 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:37256</guid><dc:creator>Michael71</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/37256.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=45&amp;PostID=37256</wfw:commentRss><description>&lt;p&gt;I&amp;#39;m trying to preformat a text box so that a user can just type 9 digits and only digits. Anyone know a way this can be done? The hypens should not be able to be erase or deleted or moved.&lt;/p&gt;</description></item></channel></rss>