<?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>Subtracting</title><link>https://www.infopathdev.com:443/forums/thread/102725.aspx</link><pubDate>Tue, 02 Jun 2015 22:33:55 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:102725</guid><dc:creator>rgood</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/102725.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=102725</wfw:commentRss><description>&lt;p&gt;I have a form that I am trying to do a subtraction to.&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;I have two dates that give me the number of days.&amp;nbsp; Then I have two drop down list that give me&amp;nbsp;a two-digit time but is just a text.&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;I have a rule&amp;nbsp;that says if the first drop down is greater than the 2nd drop down, take the number of days&amp;nbsp;and subtract one.&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;I have tried:&amp;nbsp; number(days) - 1&amp;nbsp;and so&amp;nbsp;forth but I can&amp;#39;t get it to give me a number or result.&amp;nbsp; Field (text)&amp;nbsp;ends up empty.&amp;nbsp;&lt;/p&gt;</description></item></channel></rss>