Repetitive table validation - InfoPath Dev
in

InfoPath Dev

Use our Google Custom Search for best site search results.

Repetitive table validation

Last post 12-18-2013 09:14 PM by supermode. 2 replies.
Page 1 of 1 (3 items)
Sort Posts: Previous Next
  • 12-17-2013 09:46 PM

    Repetitive table validation

    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's date. public void BtnComplete_Clicked(object sender, ClickedEventArgs e) { // Write your code here. XPathNavigator domNav = MainDataSource.CreateNavigator(); if(domNav.SelectSingleNode("/my:myFields/my:ApprovalsFolder/my:ApplicationStatus/my:StatusCompletedDate", 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
  • 12-18-2013 06:20 PM In reply to

    Hi - you don't need code here. Just conditional formatting. Disable the fields if the preceding-sibling is not complete. Here's a sample - save the file locally, right click and open in design, then preview to try it out.

    Hilary Stoupa

  • 12-18-2013 09:14 PM In reply to

    Re: Repetitive table validation

    Thank you. it works.
Page 1 of 1 (3 items)
Copyright © 2003-2019 Qdabra Software. All rights reserved.
View our Terms of Use.