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.
InfoPath

Avatar of undefined
Last Comment
lsanbo1

8/22/2022 - Mon
Montoya

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

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

Log in or sign up to see answer
Become an EE member today7-DAY FREE TRIAL
Members can start a 7-Day Free trial then enjoy unlimited access to the platform
Sign up - Free for 7 days
or
Learn why we charge membership fees
We get it - no one likes a content blocker. Take one extra minute and find out why we block content.
Not exactly the question you had in mind?
Sign up for an EE membership and get your own personalized solution. With an EE membership, you can ask unlimited troubleshooting, research, or opinion questions.
ask a question
Clay Fox

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.
All of life is about relationships, and EE has made a viirtual community a real community. It lifts everyone's boat
William Peck
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!