I have created an InfoPath 2007 browser-enabled form. I have the customary submit button at the bottom of the form. I have a repeating section on this form with a few different fields. Of note, the repeating section has a checkbox called 'Approved', a checkbox called 'Disapproved', and a text box called 'Reason for Disapproval'.
If 'Disapproved' is checked, then the 'Reason for Disapproval' text box appears; otherwise, it is hidden. I want to have conditional formatting on the submit button for the form so that if the 'Disapproved' checkbox is checked, but there is nothing in 'Reason for Disapproval', then the submit button is disabled (so, if 'Disapproved' is equal to 'Disapproved' AND 'Reason for Disapproval' is blank, then disable the submit button control).
This works fine until the user has multiple instances of the repeating section, and at least one of them has 'Disapproved' checked. Even if they enter something in the 'Reason for Disapproval' textbox, the submit button will still not enable. I suspect that submit button cannot tell the difference between the multiple instances of the repeating section, and is waiting for EACH of the text boxes to be filled in.
Would someone be able to verify this for me, or please let me know how I can modify so that not all of the text boxes need to have a value in them if only one repeating section is disapproved.
Thanks!