How do I update/clear values in a repeating section? - InfoPath Dev
in

InfoPath Dev

How do I update/clear values in a repeating section?

Last post 08-03-2012 01:03 PM by Hilary Stoupa. 1 replies.
Page 1 of 1 (2 items)
Sort Posts: Previous Next
  • 07-30-2012 12:05 PM

    How do I update/clear values in a repeating section?

    How do I loop through a repeating section and clear out the values of a particular field?  For instance, I have a form that is submitted by a user and needs to be approved by several people.  This form has dynamic approvers (defined in a repeating section due to the variability of who needs to approve the form).  If any single approver denies the form, it gets sent back to the originator who then has to take the required action before re-submitting the form for approval again.  In this case, I want to clear out the Approve/Denied status of each approver.  How do I do this?

  • 08-03-2012 01:03 PM In reply to

    Re: How do I update/clear values in a repeating section?

    Well - actually, the default behavior of a rule set on a control / field outside of a repeating group would be to act on all instances of the repeating field. So if you put a button someplace on your form (just to test) and set it to set the status to blank in your repeating group, clicking that button should clear all instances. It is a behavior that can make you nuts when it isn't what you want, but you may as well use it to your advantage.

    Hilary Stoupa

Page 1 of 1 (2 items)
Copyright © 2003-2019 Qdabra Software. All rights reserved.
View our Terms of Use.