troubleshooting Question

check whether a checkbox is checked and then perform actions using javascripting

Avatar of Andreas Hermle
Andreas HermleFlag for Germany asked on
JavaScriptAdobe Acrobat
3 Comments1 Solution127 ViewsLast Modified:
Dear Experts:

I got a single Checkbox named 'MyCheckBox' on an acrobat form.

I would like to run a javascript on that CheckBox with the following requirments:

If MyCheckBox gets checked, the script should ...
... check whether a radio button "MyRadionButton" with the export value 'Sliding Door' is activated ... if yes ...
the following actions are to be performed:
this.getField("sl2").readonly = false ;
this.getField("sl2").required = true ;
this.getField("sl2").fillColor = color.white ;

... else MyCheckbox gets unchecked
... do other stuff

Help is much appreciated. Thank you very much in advance.

Regards, Andreas
Join the community to see this answer!
Join our exclusive community to see this answer & millions of others.
Unlock 1 Answer and 3 Comments.
Join the Community
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 1 Answer and 3 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros