Copy link to clipboard
Copied
I am using Adobe Lifecycle. What I would like to do is when a choice is made from a drop down list, this sets the mail to for the submit button to the correct email address's. My drop down list has Items like leadership, waste, emergency, staff meetings. For each item in the list I need the submit form button to email to a different emails. I have specified Item values for my dropdown list.
I know this will take java script to get it done and I have very little experiance with it. I know if I was writing in MS exel it would be and if or case select statement,
any help would be great.
Thank you
Chuck T
Copy link to clipboard
Copied
Hi Chuck.
I tried to write the answer for you which became a long page and thought maybe confusing due to its length. as I had to explain every single part ..
So I searched and found this video on youtube which I think would help you get your question answered.
Populate a Dropdown from ODBC Connection in Adobe LiveCycle ® - YouTube
If this is not what you wanted do please write back so I can maybe find you a better solution or the solution you are looking for.
Best of luck
Copy link to clipboard
Copied
The dynamic data binding option in the video Joahnnes provided a link to is your key asset. He he using an Access DB and chances are you are not but I think you get the general idea that you create your connection how you need to and this will guide you on how to drop the values into the drop-down.
If you need a primer on JSON (if you prefer not to have a DB) you can find it here. If your problem is solved please let us know. I am marking Joahnnes answer as helpful.