0

I have two check boxes in a repeating section. I have to make sure that at least one of this check box is selected(Checked) before submitting the page. On submit button(outside the repeating section) I have written a rule to validate these checkboxes and displaying error if both check boxes are unchecked. It is a simple condition something like this:

Checkbox1 is equal to “False” and Ckeckbox2 is equal to “False” Then display error message.

It works fine if there only one repeating instance. If there are multiple repeating instances the condition fails. Suppose if there are two repeating instances, If I select Checkbox1 on a repeating instance1 and checkbox2 on repeating instance2, then the condition satisfies and the error message is displayed. In this case the error should not be displayed as I made checkbox selections on both repeating sections.

Do you have any suggestions?

Update: Attached an InfoPath form. In order to replicate the issue, Add two repeating instances and select the first checkbox in repeating instance 1 and select the second checkbox in repeating instance 2 and click on “submit”. The error message displays even though the checkboxes are selected. You can clear error message by clicking on the clear button.

(Visited 18 times, 1 visits today)
Add a Comment