These forums are now Read Only. If you have an Acrobat question, ask questions and get help from one of our experts.

Checkbox rules

johns1mom
Registered: Dec 1 2010
Posts: 1

I am new to LiveCycle. I have a form with 2 sets of checkboxes. If the user checks 3 of the boxes in one set he cannot choose any in the second set. If he chooses one in the second set he can choose 1 in the first set. Is it possible to write a script that will either:
1. Hide boxes when the limit is reached
2. Show an error message that they have not chose correctly?

Cindy

My Product Information:
LiveCycle Designer, Windows
Niall
Expert
Registered: Apr 26 2006
Posts: 62
Hi,

There is a sample here that limits the number of checkboxes that can be ticked:

http://www.assuredynamics.com/index.php/category/portfolio/limiting-the-number-of-checkboxes-that-can-be-ticked/

It uses FormCalc in the layoutReady event.

This might give you some direction.

Hope this helps,

Niall
Assure Dynamics