<?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: Validating End Date from Start Date</title><link>https://www.infopathdev.com:443/forums/thread/103866.aspx</link><pubDate>Tue, 08 Sep 2015 23:26:00 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:103866</guid><dc:creator>donstephen</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/103866.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=103866</wfw:commentRss><description>&lt;p&gt;Glad I could help. Cheers!&lt;/p&gt;</description></item><item><title>Re: Validating End Date from Start Date</title><link>https://www.infopathdev.com:443/forums/thread/103853.aspx</link><pubDate>Tue, 08 Sep 2015 17:34:22 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:103853</guid><dc:creator>benny.mcpherson</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/103853.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=103853</wfw:commentRss><description>&lt;p&gt;&amp;nbsp;Thanks Don,&lt;/p&gt;&lt;p&gt;&amp;nbsp;Worked&amp;nbsp;perfectly.&amp;nbsp; &amp;nbsp;&lt;/p&gt;</description></item><item><title>Re: Validating End Date from Start Date</title><link>https://www.infopathdev.com:443/forums/thread/103843.aspx</link><pubDate>Mon, 07 Sep 2015 06:46:06 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:103843</guid><dc:creator>donstephen</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/103843.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=103843</wfw:commentRss><description>&lt;p&gt;Hi Benny,&lt;br /&gt;&lt;br /&gt;Could you try adding a validation rule at the EndDate field with the following&amp;nbsp;formula for the condition:&lt;br /&gt;&lt;br /&gt;click condition and select &amp;quot;The expression&amp;quot; from the first dropdown control, be sure to replace the xpath for StartDate with the correct one.&lt;br /&gt;&lt;br /&gt;. &amp;gt; xdDate:AddDays(../my:StartDate, &amp;quot;365&amp;quot;) and . != &amp;quot;&amp;quot;&lt;br /&gt;&lt;br /&gt;The condition woud look similar to this after adding:&lt;/p&gt;&lt;p&gt;EndDate &amp;gt; addDays(StartDate, &amp;quot;365&amp;quot;) and&lt;br /&gt;EndDate is not&amp;nbsp;blank&lt;br /&gt;&lt;br /&gt;This way, if the EndDate is greater that StartDate + 365 days, a validation error will appear.&lt;br /&gt;&lt;br /&gt;I hope&amp;nbsp;this was clear enough. Please let us know if this doesn&amp;#39;t work for you.&lt;br /&gt;&lt;br /&gt;Regards,&lt;br /&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&amp;nbsp;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item><item><title>Validating End Date from Start Date</title><link>https://www.infopathdev.com:443/forums/thread/103793.aspx</link><pubDate>Tue, 01 Sep 2015 01:37:17 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:103793</guid><dc:creator>benny.mcpherson</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/103793.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=103793</wfw:commentRss><description>&lt;p&gt;&amp;nbsp;I have a form where I would like to prevent user from selecting a end date that is more then one year from the start date (InfoPath 2013)?&amp;nbsp; Any suggestion would help.&amp;nbsp; Thanks&lt;/p&gt;</description></item></channel></rss>