How to validate checkboxes in a Repeating control? - InfoPath Dev
in

InfoPath Dev

How to validate checkboxes in a Repeating control?

Last post 11-12-2015 11:48 AM by JohnMathaii. 0 replies.
Page 1 of 1 (1 items)
Sort Posts: Previous Next
  • 11-12-2015 11:48 AM

    How to validate checkboxes in a Repeating control?

    I have an InfoPath Form that contains a repeating section(General Access), where users can request security access. The repeating section contains 4 controls. A dropdown button to specify the location and three checkboxes to specify the access hours(1. Sunday to Sunday, 2. Monday to Friday 3. Weekends). If user wants access to multiple location they have to add multiple instances of General Access sections and then select the location and access hours. Access Hour is mandatory so they have to select at least one of the three choices.  In order to validate this, I have rule written on the submit button(outside Repeating section). If all three check boxes are unchecked then an error message displayed on the page. The condition of the rule is something like this:

    SuntoSun =”FALSE” and MontoFri =”FALSE” and WEEKEND=”FALSE”

     This condition does not work if users request multiple access (more than one General Access sections). Error message displays even if the user select the access hours in all instances of repeating sections. But this condition work fine if there is only one occurrence of General Access section.

    Please Advice. Any help would be much appreciated.

     

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