<?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: Restrict date picker depending on a choice field</title><link>https://www.infopathdev.com:443/forums/thread/117359.aspx</link><pubDate>Thu, 28 Sep 2017 15:02:02 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:117359</guid><dc:creator>ChristinaGateley</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/117359.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=117359</wfw:commentRss><description>&lt;p&gt;That is wonderful!&amp;nbsp; Thank you, Hilary, both for sharing your knowledge and your time :)&lt;/p&gt;</description></item><item><title>Re: Restrict date picker depending on a choice field</title><link>https://www.infopathdev.com:443/forums/thread/117358.aspx</link><pubDate>Thu, 28 Sep 2017 14:42:29 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:117358</guid><dc:creator>Hilary Stoupa</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/117358.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=117358</wfw:commentRss><description>Based on the logic you outlined, I&amp;#39;d actually use 4 rules - I&amp;#39;m attaching a simple sample. Right click the link in the post header, and save the file locally. Right click the saved file and select design - from there you can preview and try it out. :)</description></item><item><title>Re: Restrict date picker depending on a choice field</title><link>https://www.infopathdev.com:443/forums/thread/117357.aspx</link><pubDate>Thu, 28 Sep 2017 09:46:25 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:117357</guid><dc:creator>ChristinaGateley</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/117357.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=117357</wfw:commentRss><description>&lt;p&gt;&amp;nbsp;Hi Hilary, thank you for answering my query.&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;If it&amp;#39;s not possible then I think that would be an acceptable solution.&amp;nbsp;&amp;nbsp;Would I add 3 validation rules to the date picker?&amp;nbsp;&lt;/p&gt;</description></item><item><title>Re: Restrict date picker depending on a choice field</title><link>https://www.infopathdev.com:443/forums/thread/117356.aspx</link><pubDate>Thu, 28 Sep 2017 00:01:21 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:117356</guid><dc:creator>Hilary Stoupa</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/117356.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=117356</wfw:commentRss><description>I don&amp;#39;t think you&amp;#39;ll be able to restrict their ability to pick a date - however, you could run validation after the date has been entered. Is that acceptable?</description></item><item><title>Restrict date picker depending on a choice field</title><link>https://www.infopathdev.com:443/forums/thread/117355.aspx</link><pubDate>Wed, 27 Sep 2017 10:40:06 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:117355</guid><dc:creator>ChristinaGateley</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/117355.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=117355</wfw:commentRss><description>&lt;p&gt;&amp;nbsp;Hi, I hope someone is able to help.&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;I have a date picker field&amp;nbsp;that I would like to&amp;nbsp;restrict depending on the result of another field.&amp;nbsp; For example:&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;ul&gt;&lt;li&gt;I have a choice &amp;nbsp;field (&lt;em&gt;&lt;strong&gt;Priority Rating&lt;/strong&gt;&lt;/em&gt;)&amp;nbsp;with 3 options: P1, P2, P3&lt;/li&gt;&lt;li&gt;Depending on which option is selected I would like to affect the date picker (&lt;strong&gt;&lt;em&gt;Deferral Expiry Date&lt;/em&gt;&lt;/strong&gt;)&amp;nbsp;as follows:&lt;/li&gt;&lt;ul&gt;&lt;li&gt;P1 - disable people from being able to select a past date and also a date that is more than 365 days in the future&lt;/li&gt;&lt;li&gt;P2 - disable people from being able to select a past date and also a date that is more than&amp;nbsp;730 days in the future&lt;/li&gt;&lt;li&gt;P3 - disable people from being able to select a past date and also a date that is more than&amp;nbsp;1095 days in the future&lt;/li&gt;&lt;/ul&gt;&lt;/ul&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;I&amp;#39;ve tried validating the date picker field but it&amp;#39;s not really enabling me to do what I need to do.&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;Thank you.&lt;/p&gt;&lt;p&gt;&amp;nbsp;Best wishes,&amp;nbsp;&lt;/p&gt;</description></item></channel></rss>