<?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: TIN number validation</title><link>https://www.infopathdev.com:443/forums/thread/100478.aspx</link><pubDate>Wed, 10 Dec 2014 20:48:16 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:100478</guid><dc:creator>DebiScott</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/100478.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=100478</wfw:commentRss><description>&lt;p&gt;Close- it gives me 3 digits followed by 6 digits xxx-xxxxxx instead of&amp;nbsp; 2 followed by 7 xx-xxxxxxx&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;Can you adjust?&amp;nbsp;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;Ok I&amp;nbsp;figured it out - trial and&amp;nbsp;error and reading - gotta love Google.&lt;/p&gt;&lt;p&gt;TIN = concat(substring(translate(., &amp;quot;- &amp;quot;, &amp;quot;&amp;quot;), 1, 2), &amp;quot;-&amp;quot;, substring(translate(., &amp;quot;- &amp;quot;, &amp;quot;&amp;quot;), 1, 7))&amp;nbsp;&lt;/p&gt;</description></item><item><title>Re: TIN number validation</title><link>https://www.infopathdev.com:443/forums/thread/100330.aspx</link><pubDate>Mon, 01 Dec 2014 05:19:22 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:100330</guid><dc:creator>donstephen</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/100330.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=100330</wfw:commentRss><description>&lt;p&gt;Hi Debi,&lt;/p&gt;&lt;p&gt;I have a formula here which you could try:&lt;/p&gt;&lt;p&gt;&lt;em&gt;concat(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, 7))&lt;/em&gt;&lt;/p&gt;&lt;p&gt;Please let me know if this works for you.&lt;/p&gt;</description></item><item><title>TIN number validation</title><link>https://www.infopathdev.com:443/forums/thread/100288.aspx</link><pubDate>Tue, 25 Nov 2014 17:28:40 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:100288</guid><dc:creator>DebiScott</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/100288.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=100288</wfw:commentRss><description>&lt;p&gt;&amp;nbsp;I have the formula&amp;#39;s for SSN validation and formatting but my users want to use TIN numbers.&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;This is what I have for SSN (xx-xxx-xxxx)&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;concat(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, 2), &amp;quot;-&amp;quot;, substring(translate(., &amp;quot;- &amp;quot;, &amp;quot;&amp;quot;), 6, 4))&lt;/p&gt;&lt;p&gt;I need TIN (xx-xxxxxxx)&lt;/p&gt;</description></item></channel></rss>