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

Change Check box with another Check box

Fridgie
Registered: Mar 24 2009
Posts: 26
Answered

Hi guys,
A very simple question I hope, but I just don't seem to be able to figure this out.
I just want to make one check box turn another check box on or off ie

If Check Box 1 = On then Check Box 2 = On
If Check Box 1 = Off then Check Box 2 = Off

I'm designing the dynamic form in livecycle. I have tried a number of different pieces of code that I assumed would work but I must be getting something wrong. Your help is appreciated. Thank you

My Product Information:
LiveCycle Designer, Windows
Fridgie
Registered: Mar 24 2009
Posts: 26
Scrap that question. I must have been making a mistake somewhere else in my code because a simple

if (this.rawValue == 1) // where this is CheckBox1
{CheckBox2.rawValue = 1;

works just fine.