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

Changeable checkbox background

Karise
Registered: Dec 28 2007
Posts: 2
Answered

I'm trying to create a checkbox that the text field background color has three option dependent/interactive with on the end user's answer. (Red for No, Green for Yes, None for No answer)
 
I'm creating the form in Adobe Designer 7.0
 
Is there a way to create this?
Thank you. K

My Product Information:
LiveCycle Designer, Windows
pddesigner
Registered: Jul 9 2006
Posts: 858
Accepted Answer
Right click the check box.

Click Properties, click the Actions tab, select Trigger: Mouse Up.
Select Action: Run a JavaScript

Click Add and paste this code into the box.

var f = this.getField("Box1");
f.fillColor = color.yellow;

Change the color.yellow to the color you want. Note: the Box1 refers to the name of your check boxes.

My favorite quote - "Success is the ability to go from one failure to another with no loss of enthusiasm.