<?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>Newbie Questions</title><link>https://www.infopathdev.com:443/forums/39.aspx</link><description>New to InfoPath? Search to see if your question has already been answered. If it has not, then ask it here or the appropriate topic forum.</description><dc:language>en</dc:language><generator>CommunityServer 2007 SP3 (Build: 31118.962)</generator><item><title>Re: Repeating Table Date Field Validation</title><link>https://www.infopathdev.com:443/forums/thread/70838.aspx</link><pubDate>Tue, 04 Oct 2011 16:57:58 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:70838</guid><dc:creator>cashworth</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/70838.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=70838</wfw:commentRss><description>&lt;p&gt;Hi guys,&lt;/p&gt;&lt;p&gt;Thanks again for your replies. When I came back to this problem, I realized that I gave some inaccurate information. I meant to say repeating section not table. Either way, I managed to make it work using code behind.&lt;/p&gt;&lt;p&gt;Thanks,&lt;/p&gt;&lt;p&gt;Colin&lt;/p&gt;</description></item><item><title>Re: Repeating Table Date Field Validation</title><link>https://www.infopathdev.com:443/forums/thread/70509.aspx</link><pubDate>Thu, 22 Sep 2011 00:32:56 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:70509</guid><dc:creator>cashworth</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/70509.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=70509</wfw:commentRss><description>&lt;p&gt;&amp;nbsp;Thank you both for your replies! I&amp;#39;ve been assigned to a higher priority task for the time being, but when I get back to working on this I&amp;#39;ll definitely try out your suggestions. I&amp;#39;ll let you know how it turns out.&lt;/p&gt;&lt;p&gt;Thanks again! :D&lt;/p&gt;&lt;p&gt;Colin &lt;br /&gt;&lt;/p&gt;</description></item><item><title>Re: Repeating Table Date Field Validation</title><link>https://www.infopathdev.com:443/forums/thread/70495.aspx</link><pubDate>Wed, 21 Sep 2011 18:32:54 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:70495</guid><dc:creator>Lockdown</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/70495.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=70495</wfw:commentRss><description>&lt;p&gt;Here is something I threw together that works and suits your needs from what I can tell. &lt;/p&gt;
&lt;p&gt;What it does is converts each date to a number. From there I store the max start date and min end Date in fields outside of the table. I left all of those numbers visible in case you need to change anything. All you would need to do is copy over those equations and replace them with your fields. &lt;/p&gt;
&lt;p&gt;I really hope this helps!! Let me know if you have any questions.&lt;/p&gt;
&lt;p&gt;Edit: Theres a bunch of rules and conditions on data validation so make sure you look for all of those.&lt;/p&gt;</description></item><item><title>Re: Repeating Table Date Field Validation</title><link>https://www.infopathdev.com:443/forums/thread/70463.aspx</link><pubDate>Wed, 21 Sep 2011 06:47:40 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:70463</guid><dc:creator>Patrick Halstead</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/70463.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=70463</wfw:commentRss><description>&lt;p&gt;Hi Cashworth,&lt;/p&gt;&lt;p&gt;This is an interesting question. Here&amp;#39;s a simple idea: change the UI to force the user to add a row at the bottom. After added, it gets automatically inserted and sorted in ascending order of the StartDate in a read only table above it. Now, you can use preceding-sibling and the rarer follow-sibling to compare it. Just add a hidden column to your table with a default value that computes based on the preceding and following and then add a conditional formatting rule to the row that invalidates based on this hidden column being non-blank. Then, change the area below to point to this item (as opposed to the last row). In other words, you don&amp;#39;t allow another row until they fix it. &lt;/p&gt;&lt;p&gt;A bit tricky, but definitely doable. :)&lt;/p&gt;</description></item><item><title>Repeating Table Date Field Validation</title><link>https://www.infopathdev.com:443/forums/thread/70455.aspx</link><pubDate>Tue, 20 Sep 2011 22:13:28 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:70455</guid><dc:creator>cashworth</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/70455.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=70455</wfw:commentRss><description>&lt;p&gt;&amp;nbsp;Hi,&lt;/p&gt;&lt;p&gt;I&amp;#39;m working on a project that requires me to have a repeating table with two date pickers: StartDate and EndDate. I was wondering how I would go about ensuring that the dates entered aren&amp;#39;t within the range of the other date ranges on the form. As far as the logic is concerned I believe I need the condition to go off when StartDate &amp;lt;= OtherInstancesEndDate AND EndDate &amp;gt;= OtherInstancesStartDate.&lt;/p&gt;&lt;p&gt;I&amp;#39;ve read posts about using preceding-sibling, but when I tried I could only ever make it check with one of the other siblings, but it needs to check against all of them. Please let me know if you have any ideas.&lt;/p&gt;&lt;p&gt;Thanks,&lt;/p&gt;&lt;p&gt;Colin &lt;br /&gt;&lt;/p&gt;</description></item></channel></rss>