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

Combo Box Question...

Amanda Dilworth
Registered: Jun 4 2009
Posts: 7

i want to have a combo box with multiple options that a client will select one and the box will autofill using a different name then selected in the combo box.

for example, the box will have options for Black, Red, Green & Blue. If the client selects Black i want BLK in the field, not the full name.

i'm using this for Mutual Fund Names and wanting to return the pre-determined Ticker Symbol.

Thank you in advance!

Amanda Dilworth

My Product Information:
Acrobat Pro 9.1, Windows
gkaiseril
Expert
Registered: Feb 23 2006
Posts: 4308
Look at setting the optional 'Export' value in Acrobat. In LiveCycle Designer you will have write the code to convert the value or text to the ticker symbol using the 'if' or 'select()' statements.

George Kaiser

Amanda Dilworth
Registered: Jun 4 2009
Posts: 7
i just opened life cycle designer for the first time this morning. I have no idea on how to phrase the scripting or anything.

i have entered sample data with the ticker as the export as value, but am lost on how to get one to replace the other.

thank you for your assitance!
gkaiseril
Expert
Registered: Feb 23 2006
Posts: 4308
If you have started your form in Acrobat [b]do not[/b] switch without a PDF backup of the original form. There is no way back once you switch form creation products.

There are a couple of tutorials on the combo box and setting the value of another field:

[url=http://www.acrobatusers.com/tutorials/2007/js_list_combo_livecycle/]Programming List and Combo fields in Acrobat and LiveCycle forms - Part 1[/url] by Thom Parker
[url=http://www.acrobatusers.com/tutorials/2007/10/list_and_combo_in_lc]Programming List and Combo Fields in Acrobat and LiveCycle forms- Part 2[/url] by Thom Parker
[url=http://www.acrobatusers.com/tutorials/2006/change_another_field]Changing Another Field with Combo Box (Drop Down) Selection[/url] by Thom Parker

George Kaiser

Amanda Dilworth
Registered: Jun 4 2009
Posts: 7
thank you - i am reading those articles now!