<?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: Auto-formating Phone Numbers in InfoPath Form</title><link>https://www.infopathdev.com:443/forums/thread/123310.aspx</link><pubDate>Tue, 11 Aug 2020 23:36:14 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:123310</guid><dc:creator>Evanz</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/123310.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=123310</wfw:commentRss><description>&lt;p&gt;Thank you for your quick response. It works perfectly as to what I am looking for. You&amp;#39;re the best Hilary! Much appreciated. :)&amp;nbsp;You have a wonderful evening! &lt;/p&gt;</description></item><item><title>Re: Auto-formating Phone Numbers in InfoPath Form</title><link>https://www.infopathdev.com:443/forums/thread/123309.aspx</link><pubDate>Tue, 11 Aug 2020 22:33:25 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:123309</guid><dc:creator>Hilary Stoupa</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/123309.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=123309</wfw:commentRss><description>Here, I added a validation rule. :-)</description></item><item><title>Re: Auto-formating Phone Numbers in InfoPath Form</title><link>https://www.infopathdev.com:443/forums/thread/123308.aspx</link><pubDate>Tue, 11 Aug 2020 19:17:30 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:123308</guid><dc:creator>Evanz</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/123308.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=123308</wfw:commentRss><description>&lt;p&gt;&amp;nbsp;Yes, It&amp;#39;s a field just for entering numbers. Thank you very much for your sample. It&amp;#39;s very helpful. :-). Just one more question, is it possible to&amp;nbsp;add another&amp;nbsp;condition into your sample provided&amp;nbsp;that if user enter more than or less than 10 digit phone numbers, the phone number field will display a red margin around the field? I mean user should enter the correct 10 digit numbers for this field. Any hint? Thanks again. :-) &lt;/p&gt;</description></item><item><title>Re: Auto-formating Phone Numbers in InfoPath Form</title><link>https://www.infopathdev.com:443/forums/thread/123306.aspx</link><pubDate>Tue, 11 Aug 2020 15:36:06 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:123306</guid><dc:creator>Hilary Stoupa</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/123306.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=123306</wfw:commentRss><description>Where do you intend to use this? It looks like it would be for the field if only numbers were entered... In which case, in a rule on the field you wish to format, set the same field using this formula, probably with a condition that the field doesn&amp;#39;t contain () or -. See attached sample - save the file locally, right click and select design.</description></item><item><title>Re: Auto-formating Phone Numbers in InfoPath Form</title><link>https://www.infopathdev.com:443/forums/thread/123301.aspx</link><pubDate>Mon, 10 Aug 2020 18:15:11 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:123301</guid><dc:creator>Evanz</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/123301.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=123301</wfw:commentRss><description>&lt;p&gt;&amp;nbsp;Hi, thank you for your prompt response! since the form created for the company&amp;#39;s internal use only, so it should have to be 10 digit numbers that I did not even think about adding a country code or something, etc...:-) &lt;/p&gt;&lt;p&gt;&amp;nbsp;Below is a calculate value that I have been searching for from google but I am not sure if it works or do I have to use any rule/condition?&amp;nbsp;Any advices? I really appreciate it. &lt;/p&gt;&lt;p&gt;&amp;nbsp;concat(&amp;quot;(&amp;quot;, substring(translate(., &amp;quot;()-&amp;quot;, &amp;quot;&amp;quot;), 1, 3), &amp;quot;)&amp;quot;, substring(translate(., &amp;quot;()-&amp;quot;, &amp;quot;&amp;quot;), 4, 3), &amp;quot;-&amp;quot;, substring(translate(., &amp;quot;()-&amp;quot;, &amp;quot;&amp;quot;), 7, 4))&lt;/p&gt;</description></item><item><title>Re: Auto-formating Phone Numbers in InfoPath Form</title><link>https://www.infopathdev.com:443/forums/thread/123293.aspx</link><pubDate>Fri, 07 Aug 2020 01:57:15 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:123293</guid><dc:creator>Hilary Stoupa</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/123293.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=123293</wfw:commentRss><description>Hmmmm. I mean.... maybe? Perhaps you could use translate to remove everything that isn&amp;#39;t a number, then split it up and add in the parenthesis and the dash... but then, who knows if someone is going to add a country code or something. That might get a little tricky. Maybe have a field (number only) for country code (if needed) and another field (number only) for phone, and then display it formatted in a calculated value? I just can&amp;#39;t think of a robust way to do this with rules / form logic.....</description></item><item><title>Auto-formating Phone Numbers in InfoPath Form</title><link>https://www.infopathdev.com:443/forums/thread/123285.aspx</link><pubDate>Thu, 06 Aug 2020 01:01:39 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:123285</guid><dc:creator>Evanz</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/123285.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=123285</wfw:commentRss><description>&lt;p&gt;&amp;nbsp;Hi,&lt;/p&gt;&lt;p&gt;Is it possible to set auto-formatting phone number field in InfoPath&amp;nbsp;form? if yes, what code would be&amp;nbsp;using? any&amp;nbsp;assistance would be much appreciated. &lt;/p&gt;&lt;p&gt;Thank you,&amp;nbsp;&lt;/p&gt;</description></item></channel></rss>