infopath2010

How to check more than 5 fields under action rule condition in infopath 2010


I am working on an infopath 2010 form/view based on a list.

I have 7 separate check box fields that I want to check through a rule under submit button that at least one of them should be selected.

Trying to do this and check for the condition, it is allowing me to check a maximum of 5 fields at a time.

How can I check at least one of these 7 check boxes is selected before submitting the data?


Solution

  • Here's an idea: Use an integer field and put a rule on each of your 7 checkboxes that adds 1 to the field. Then your final validation rule just needs to be sure the integer field is greater than zero

    (Better also have a rule to subtract 1 if a box is unchecked after being checked.)

    -Glen