Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Adobe Acrobat Check Box Problems

Status
Not open for further replies.

spingraphics

Programmer
Aug 3, 2011
1
US
Hello,

I am setting up a form within Adobe Acrobat Pro v 9. I have been able to set check boxes up within the form that when you click on them they make a field visible. The problem is that when you uncheck them the field stays visible. I am trying to get it where when you click on it and the check mark is there the field is visible but when you uncheck it the same field that became visible when you checked it becomes invisible.

If you are responding an example of a checkboxes name and the field name would be Checkbox Numbers and then the field name would be Numbers Font.

Thanks for your help!

J .:
 
if (this.getField('Checkbox Numbers').value == 'Off') {
// Disable field
this.getField('Numbers Font').display = display.hidden
} else {
// Enable field
this.getField('Numbers Font').display = display.visible
}
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top