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

Dynamic fields?

woodsman707
Registered: May 27 2008
Posts: 5
Answered

Hello,
I am new to designing forms, so bear with me...

I want to figure out a way to have fields or form objects appear based on the item a user selects from a drop-down list.
Example:
field A is a drop down list
The options are
1. Forward email to another user
2. delete email address
3. archive email and send to another user

So, lets say the the user selects option 1, I would like to have a couple fields show up on the form specific to this task, etc...

Is this possible?

My Product Information:
LiveCycle Designer, Windows
Dimitri
Expert
Registered: Nov 1 2005
Posts: 1389
Hi woodsman707,

Yes, this can be done with some scripting. There is a video on this site that shows an example of showing and hiding fields based on selection in a pull-down list-
http://adobechats.adobe.acrobat.com/p87746471/
The video appears to have some problem when you start it with the voice and video syncing, hit the pause and then start play again and it works better. Since you are new to designing forms with LiveCycle Designer and/or Acrobat the whole video should be great material for you.

You may also want to read and look at the examples in this JavaScript Corner article on programming list fields and comboboxes with JavaScript-
http://www.acrobatusers.com/tutorials/2007/js_list_combo_livecycle/

Hope this helps,

Dimitri
WindJack Solutions
www.windjack.com
woodsman707
Registered: May 27 2008
Posts: 5
thanks for the resource. While I am a seasoned IT professional, I am not much of a coder, so I have resigned to just doing static forms for now...