Link to home
Create AccountLog in
Avatar of lsanbo1
lsanbo1

asked on

InfoPath 2007 form: Disabling checkboxes after five are checked

Hi!
I am wondering if there is a way, without code, to disable checkboxes in my form once five prior have been selected. In other words, there are nine checkbox fields but the user should only select five of nine. Is there any way to disable the remainder of the checkboxes once five have been selected through rules?

I would rather not have to set up a rule(s) per checkbox as this could get rather hairy. I am just looking to disable checkboxes after five are selected.
Avatar of Montoya
Montoya

Are you trying to do that after ANY five are selected, or after a specific five?
Avatar of lsanbo1

ASKER

Just simply after five are selected - doesn't matter which ones...
ASKER CERTIFIED SOLUTION
Avatar of Montoya
Montoya

Link to home
membership
Create an account to see this answer
Signing up is free. No credit card required.
Create Account
Yah I agree.

You can also have a rule on each that decrements the check count when they are unselected if needed.

Then have all of your conditions on the check count value.
Avatar of lsanbo1

ASKER

I really don't know if there's a more efficient solution to this question but I can say that this answer worked. Thanks for the creativity - it was a little work but does exactly what I need it to do!