<?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: Two date selectors - restrict the second selector to the same month as the first?</title><link>https://www.infopathdev.com:443/forums/thread/71957.aspx</link><pubDate>Thu, 10 Nov 2011 23:52:23 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:71957</guid><dc:creator>Hilary Stoupa</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/71957.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=71957</wfw:commentRss><description>&lt;p&gt;Well, you could add some data validation for this, I suppose - check that the years and months match (using substring functions to get the separate pieces of the date) - but it won&amp;#39;t prevent the user from being able to pick a different date - just prevents him / her from submitting. You could also reset the field to blank if the date selected wasn&amp;#39;t in the same month / year, and display a message about the need to select a date in the same month / year.&lt;/p&gt;&lt;p&gt;There&amp;#39;s a sample form &lt;a href="http://www.infopathdev.com/files/folders/examples/entry41104.aspx"&gt;here&lt;/a&gt; with some info on getting parts of date fields with substring functions.&lt;/p&gt;</description></item><item><title>Two date selectors - restrict the second selector to the same month as the first?</title><link>https://www.infopathdev.com:443/forums/thread/71955.aspx</link><pubDate>Thu, 10 Nov 2011 23:44:07 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:71955</guid><dc:creator>jtownson</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/71955.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=71955</wfw:commentRss><description>Is it possible?

Thanks</description></item></channel></rss>