<?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: configuring that form "submit" only if it filing  less then 7 days from the chosen date</title><link>https://www.infopathdev.com:443/forums/thread/103935.aspx</link><pubDate>Mon, 14 Sep 2015 04:02:13 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:103935</guid><dc:creator>donstephen</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/103935.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=103935</wfw:commentRss><description>&lt;p&gt;Hi Roy,&lt;br /&gt;&lt;br /&gt;To my understanding, you would like to disable the submit button if today is less than 7 days from chosen date? would that be correct? If so,&amp;nbsp; could you check if this formula works for you?&lt;br /&gt;&lt;br /&gt;msxsl:string-compare(xdDate:Today(), xdDate:AddDays(my:field1, -7)) &amp;lt; 0&lt;/p&gt;&lt;p&gt;&amp;nbsp;where&amp;nbsp;&amp;nbsp;my:field1 is the xpath to the dat field for the chosen date.&lt;/p&gt;&lt;p&gt;&amp;nbsp;Please let me know how it goes.&lt;br /&gt;&lt;br /&gt;Regards,&amp;nbsp;&lt;/p&gt;</description></item><item><title>configuring that form "submit" only if it filing  less then 7 days from the chosen date</title><link>https://www.infopathdev.com:443/forums/thread/103868.aspx</link><pubDate>Wed, 09 Sep 2015 07:12:13 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:103868</guid><dc:creator>Roy2roy</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/103868.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=103868</wfw:commentRss><description>&lt;p&gt;&amp;nbsp;Hello &lt;/p&gt;&lt;p&gt;I am using -InfoPath 2013 &amp;nbsp;&lt;/p&gt;&lt;p&gt;I created a form that contain&amp;nbsp;a date Field that you&amp;nbsp;&amp;nbsp;must choose &lt;/p&gt;&lt;p&gt;I need that the form &amp;nbsp;I created couldn&amp;#39;t &amp;quot;submit&amp;quot; if it&amp;nbsp;filing &amp;nbsp;less then 7 days from the chosen date&lt;/p&gt;&lt;p&gt;&amp;nbsp;please try to&amp;nbsp;help me solve this issue &lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;thanks &lt;/p&gt;&lt;p&gt;Roy&amp;nbsp;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item></channel></rss>