Expand my Community achievements bar.

populate text field from xml data file

Avatar

Level 3

I have a drop down list that has list items, "OptionA, Option B, and Option C.

Next to my drop down list is a text field. I would like to populate this text field with costs, from an xml data file, so that when a user selects Option A, B, or C, the cost for each option is automatically populated from the xml data file

I am sure this can't be too hard to achieve?

Can anyone help?

Many Thanks

1 Reply

Avatar

Level 10

Link this dropdown to the xml tag with the proper values. So that Option A has the associated cost as the value for this option and so on. In the exit event of the dropdown set the text box value with the selected value from Dropdown.

TextBox1.rawValue = DropDown1.rawValue;

Thanks

Srini