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

text field to drop down

beachbumbali11
Registered: Mar 5 2008
Posts: 74

ok trying to understand the basic mechanism for using javascript to change the items in a drop down field from items already on the page iknow this has to be an easy answer but its evading me three tex fields one drop down
this.rawValue = form1.Cover.TextField1.rawValue; form1.Cover.TextField2.rawValue;
but it only will display the first item i have this placed in the entere event how do i list more than one item here please help

My Product Information:
LiveCycle Designer
thomp
Expert
Registered: Feb 15 2006
Posts: 4411
Here's an artical that explains using and modifying drop-downs with JavaScript:

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

Just as a note, when you post these questions, it would be very helpful if you'd use punctionation in the text. And also if you separated out the code from the text with a short explaination of where the code is place in the form (i.e. event and field).

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