Expand my Community achievements bar.

Please help me!!

Avatar

Level 1

I have a problem with LiveCycle Designer ES2

I have a dropdown with a few towns( Breda, Geleen etc) and under the dropdown list i have a few forms with the adress, phone number etc.

Now i want to link the adress, phone number etc to the the drop down list with the towns.

Thanks...

7 Replies

Avatar

Level 7

Link them in what way? Are you wanting to choose a town and have the address, phone number, etc. auto populate?

Avatar

Level 7

Ok. On the drop down list exit event put in a script like below:

if (this.rawValue == "Breda"){

address1.rawValue = "insert Breda address here";

phoneNum1.rawValue = "insert Breda phone number here";

}

Be sure to set the scripting language to javascript. You'll need to repeat the code block for each town name in your drop down list, replacing Breda with whichever town is called for. How many towns do you have in your drop down list?

Avatar

Level 7

Ok so you'll need 7 instances of the code block checking the town name and assigning the correct information to the form fields.

Avatar

Level 7

Hello again, were you able to get this working?

Avatar

Level 1

Yes.. It works!!

Thank you..

Date: Tue, 7 Sep 2010 05:29:09 -0600

From: forums@adobe.com

To: siebren90@hotmail.com

Subject: Please help me!!

Hello again, were you able to get this working?

>