I have the following problem I've been trying to find something and I could not come up with the solution.
I have a list of names in different places, I have joined this list in a listbox, now I want to choose an item from that list in a field I appears the corresponding address of the establishment. I could help please.
You can use the Validation event of the list field, or the Calculation event of the text field.
Let's use the first one, with a script like this:
if (event.value=="Person1") this.getField("Address") = "Address for Person1";
else if (event.value=="Person2") this.getField("Address") = "Address for Person2";
else if (event.value=="Person3") this.getField("Address") = "Address for Person3";
else this.getField("Address") = "";
If you have multiple pieces of data to add to one or more fields;
Changing Another Field with Combo Box (Drop Down) Selection b y Thom Parker
With some additional scripting, one could even populate the drop down box from the data object so if the top level had items added or removed, the drop down box would be updated on the next opening of the form.