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

hide/show field

dbertanjoli
Registered: Nov 18 2007
Posts: 30

Hello,
I have an org chart in pdf format and would like to have some kind of control to show additiona info on each person. For example when someone clicks on an individal's name a 'hidden' field will show up containing phone number, address etc. This 'hidden' field should have some kind of control to be closed when data is viewed.

There are 25 names in this chart and this is how many related hidden fields will have. What is the best and easiest way to do it? I am very new user and would appreciate detailed instructions.

Many thanks,

Debbie

My Product Information:
Acrobat Pro 8.0, Windows
dmeurer
Registered: Jan 31 2006
Posts: 5
I guess you have at least three options from what I supect you would like to do. The first two are noted below

first - you could put this information into the textbox property General>tooltip. When the user mouses over the field then the information displays.second - you could use the followng which effectively works like a mouseover method. In your field properties where you want the action to occur do the following:

To show the field on mouse enter do the following:
Actions>Select trigger: mouse enter>Select Action: run a javascript and then you could code to show a field with the following:
var fieldA = this.getField("fieldA"); //where fieldA is a hidden textbox that contains the information
fieldA.display = display.visible;

to hide the field on mouse exit do the following:
Actions>Select trigger: mouse exit>Select Action: run a javascript and then you could code to hide a field with the following:
var fieldA = this.getField("fieldA"); //where fieldA is a visible textbox that contains the information
fieldA.display = display.hidden;