<?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>InfoPath 2010</title><link>https://www.infopathdev.com:443/forums/142.aspx</link><description>Are you exploring new features coming up in 2010? Share information and ask questions here!</description><dc:language>en</dc:language><generator>CommunityServer 2007 SP3 (Build: 31118.962)</generator><item><title>Re: Date picker validation and rules</title><link>https://www.infopathdev.com:443/forums/thread/73594.aspx</link><pubDate>Fri, 06 Jan 2012 18:37:21 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:73594</guid><dc:creator>Granzip</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/73594.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=142&amp;PostID=73594</wfw:commentRss><description>&lt;p&gt;How do you accomplish this if you are using InfoPat 2003? What code can you use to replace the addDays function in Infopath 2007 or greater?&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item><item><title>Re: Date picker validation and rules</title><link>https://www.infopathdev.com:443/forums/thread/65379.aspx</link><pubDate>Wed, 23 Mar 2011 13:51:59 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:65379</guid><dc:creator>qwerty</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/65379.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=142&amp;PostID=65379</wfw:commentRss><description>Hi. If you&amp;#39;re using IP2007 or greater, then you can use the xPath function addDays(&amp;lt;date&amp;gt;, &amp;lt;days to add&amp;gt;). So you could compare today() to addDays(today(), 1).</description></item><item><title>Date picker validation and rules</title><link>https://www.infopathdev.com:443/forums/thread/65374.aspx</link><pubDate>Wed, 23 Mar 2011 12:13:14 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:65374</guid><dc:creator>jaybranch</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/65374.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=142&amp;PostID=65374</wfw:commentRss><description>&lt;p&gt;Hi all, &lt;/p&gt;
&lt;p&gt;On my form, I have two date fields.&amp;nbsp; One populates itself with today&amp;#39;s date... the other is a date picker, to allow the user to choose a date for delivery of goods.&lt;/p&gt;
&lt;p&gt;At the moment, I have a rule on the field which is an action.&amp;nbsp; Basically if the date is greater than today() it pops up a message advising them that &lt;strong&gt;&amp;#39;Next Day deliveries must be authorised first&amp;#39;&lt;/strong&gt;.&amp;nbsp; However, this occurs for &lt;strong&gt;ALL &lt;/strong&gt;dates in the future, not just the &lt;em&gt;next&lt;/em&gt; day.&lt;/p&gt;
&lt;p&gt;What formula can I use that would just show this pop up message for the next day?&amp;nbsp; i.e. If today is the 23/03/11, I would like the message to pop up if the 24/03/11 is selected, but not if the 25th, 26th etc etc&amp;nbsp;is selected.&lt;/p&gt;
&lt;p&gt;I hope that makes sense!&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Thanks all&lt;/p&gt;
&lt;p&gt;James&lt;/p&gt;</description></item></channel></rss>