- Mark as New
- Follow
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report
Hi,
I have changed the "A" from a dropdown to a textfield and changed the SOM in the script.
The main script you are looking for is in DropDownList4.
I have moved your addItem script from the enter event to the preOpen event, which is better for populating dropdowns. Also have a look at the script, because I have set bound values for both addItems, 0 and 1. This means that the user sees the team names, but the script can then reference the bound values.
The new script is in the exit event of the first match. This looks at the bound value of the selected item in the dropdown and then populates the "A" with the other teams name.
if (this.selectedIndex == "0")
{
TextField15.rawValue = this.getDisplayItem(1);
}
else
{
TextField15.rawValue = this.getDisplayItem(0);
}
I have the first one done, you should be able to follow for the others.
Good luck,
Niall
Views
Replies
Total Likes