I have a form with a repeating section, which contains a button to send email. After the email is sent from one instance of the section, I want to disable that button in that instance.
I've tried to disable the button instance by populating another field in the repeating section after the email is sent, and then using conditional formatting on the button.
The ENABLED field has a default value of "YES".
After the email is sent, I set a single instance of the value to "NO" in the click event. : XDocument.DOM.selectSingleNode("/my:myFields/my:group1/my:Enabled").text = "NO";
This consistently sets every instance of the ENABLED field to "NO" and so disables the Button in every instance of the repeating group.
Ideas? Thanks much.