<?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>Code</title><link>https://www.infopathdev.com:443/forums/45.aspx</link><description /><dc:language>en</dc:language><generator>CommunityServer 2007 SP3 (Build: 31118.962)</generator><item><title>Re: Repetitive table validation</title><link>https://www.infopathdev.com:443/forums/thread/94838.aspx</link><pubDate>Thu, 19 Dec 2013 05:14:26 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:94838</guid><dc:creator>supermode</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/94838.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=45&amp;PostID=94838</wfw:commentRss><description>Thank you. it works.</description></item><item><title>Re: Repetitive table validation</title><link>https://www.infopathdev.com:443/forums/thread/94836.aspx</link><pubDate>Thu, 19 Dec 2013 02:20:37 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:94836</guid><dc:creator>Hilary Stoupa</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/94836.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=45&amp;PostID=94836</wfw:commentRss><description>&lt;p&gt;Hi - you don&amp;#39;t need code here. Just conditional formatting. Disable the fields if the preceding-sibling is not complete. Here&amp;#39;s a sample - save the file locally, right click and open in design, then preview to try it out.&lt;/p&gt;</description></item><item><title>Repetitive table validation</title><link>https://www.infopathdev.com:443/forums/thread/94822.aspx</link><pubDate>Wed, 18 Dec 2013 05:46:45 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:94822</guid><dc:creator>supermode</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/94822.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=45&amp;PostID=94822</wfw:commentRss><description>Hi Guys,

I have repeating table which contain series of task (Please refer to attachment).


What i have done:
When the user clicked the Complete button, The Date completed will populate with today&amp;#39;s date.


public void BtnComplete_Clicked(object sender, ClickedEventArgs e)
 {
            // Write your code here.
            XPathNavigator domNav = MainDataSource.CreateNavigator();
            if(domNav.SelectSingleNode(&amp;quot;/my:myFields/my:ApprovalsFolder/my:ApplicationStatus/my:StatusCompletedDate&amp;quot;, NamespaceManager).Value != null)
           {

            }
           

 }


What i am trying to achieve:
only enable first row only when form load. If the user clicked the complete button in the first row then the second row is enabled. 

Please advise, Thank you</description></item></channel></rss>