<?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: check last digit</title><link>https://www.infopathdev.com:443/forums/thread/78000.aspx</link><pubDate>Thu, 26 Apr 2012 07:03:22 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:78000</guid><dc:creator>Jimmy</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/78000.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=78000</wfw:commentRss><description>&lt;p&gt;Try setting the default value formula for the option button field to this:&lt;/p&gt;&lt;p&gt;2 -&amp;nbsp;(substring(&lt;u&gt;SocialSecurity&lt;/u&gt;, string-length(&lt;u&gt;SocialSecurity&lt;/u&gt;), 1) mod 2)&lt;/p&gt;</description></item><item><title>check last digit</title><link>https://www.infopathdev.com:443/forums/thread/77998.aspx</link><pubDate>Thu, 26 Apr 2012 05:57:51 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:77998</guid><dc:creator>Tinker</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/77998.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=77998</wfw:commentRss><description>Infopath 2010

I Would like to check the last digit in a social security number

if it&amp;#39;s 1, 3, 5, 7, 9  then set option button value 1

else set option button value 2 


how can this be done ?</description></item></channel></rss>