Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

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

0 Replies

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