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

Text Fields Populate a Droplist?

pforms
Registered: Nov 17 2009
Posts: 87
Answered

I have a form in which the user enters two names in text fields named Party1 and Party2.
Throughout the form, the user must designate who will complete a task (Party1 or Party2).
What I would like to do is have the names entered in the Party1 & 2 fields available to select from without having to retype a name in each field.
 
Is this possible?

My Product Information:
LiveCycle Designer, Windows
SLDC
Registered: Oct 25 2010
Posts: 70
In the Exit event of the text fields, use add_item() to add this.rawValue to the list of choices in the drop-downs.
pforms
Registered: Nov 17 2009
Posts: 87
Accepted Answer
I added this to the preOpen of the droplist:

this.rawValue = null;
this.clearItems();

this.addItem(textfield1.rawValue);
this.addItem(textfield2.rawValue);

Thanks for pointing me in the right direction