<?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: Add % VAT Option</title><link>https://www.infopathdev.com:443/forums/thread/42700.aspx</link><pubDate>Wed, 10 Jun 2009 13:54:44 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:42700</guid><dc:creator>kminor</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/42700.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=42700</wfw:commentRss><description>&lt;p&gt;I&amp;#39;m a newbie myself, but I can think of a couple of ways to try this.&amp;nbsp; Doesn&amp;#39;t necessarily mean they&amp;#39;re the best ways to do it, but this is what I would try:&lt;/p&gt;
&lt;p&gt;1) You could add code to the OnChange event for the radio button that would add in the VAT or remove it, depending on which option was clicked.&lt;/p&gt;
&lt;p&gt;2) You could have a hidden field (set the width to zero) that contains the VAT.&amp;nbsp; Give it a default of 0, and include the value in that field in your total calculation.&amp;nbsp; I think you can set a rule on the radio buttons to change the value of that field when the proper option is selected.&lt;/p&gt;
&lt;p&gt;Hope that helps!&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;ETA -- I prefer option 2.&amp;nbsp; I think there is less opportunity to mess up your total that way.&lt;/p&gt;</description></item><item><title>Add % VAT Option</title><link>https://www.infopathdev.com:443/forums/thread/42680.aspx</link><pubDate>Wed, 10 Jun 2009 09:57:05 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:42680</guid><dc:creator>Bricey</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/42680.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=42680</wfw:commentRss><description>&lt;p&gt;Greetings all, long time lurker first time poster. &lt;/p&gt;
&lt;p&gt;&amp;nbsp;I have what would seem to be a simple question, I have searched and am unable to find a suitable answer!&lt;/p&gt;
&lt;p&gt;&amp;nbsp;I have a repeating table that calculates total amounts and quantities. I have a sub total and delivery option that works all ok. What I need is a radio/option button that will automatically add the percentage of VAT to the total, any suggestions on how to do this would be greatly appreciated.&lt;/p&gt;</description></item></channel></rss>