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

Form list field question

rwilki
Registered: Oct 16 2009
Posts: 37

I have an acro form I'm working on. My customer would like to have a drop down list with 3 choices. Based on the selected choice, they would like the next drop down list to display 3 options only for that selection.

I understand that databases do this, but I was wondering that since there are a finite choices or options, if there was a way to hard code javascript to do this?

Thanks for an awesome forum!!!!
Bob

thomp
Expert
Registered: Feb 15 2006
Posts: 4411
Here is an article the covers this point for both AcroForms and LiveCycle forms, with links to PDF Examples:

http://www.acrobatusers.com/tutorials/2007/js_list_combo_livecycle/

Thom Parker
The source for PDF Scripting Info
[url=http://www.pdfScripting.com]pdfscripting.com[/url]

The Acrobat JavaScript Reference, Use it Early and Often
[url=http://www.adobe.com/devnet/acrobat/javascript.php]http://www.adobe.com/devnet/acrobat/javascript.php[/url]

Then most important JavaScript Development tool in Acrobat
[url=http://www.pdfscripting.com/public/34.cfm#JSIntro][b]The Console Window (Video tutorial)[/b][/url]
[url=http://www.acrobatusers.com/tutorials/2006/javascript_console][b]The Console Window(article)[/b][/url]

Thom Parker
The source for PDF Scripting Info
www.pdfscripting.com
Very Important - How to Debug Your Script