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

Drop-Down List Binded to a Numeric Field

Not applicable
I am creating an Order Form. I have a Drop-Down List with a bunch of sizes listed in it. Each time a client chooses a size I want them to see a different price populate in a numeric field beside the drop-down list.



I was able to set the prices I needed in the Binding Tab of the Drop-Down List, but now I don't know how to bind those price values to the numeric field beside.



Any help would be greatly appreciated.



Thanks,
2 Replies
pguerett
Level 10
Level 10
So I am assuming that you have set the Text and Value table in the Binding Palette. If you want to get the text value use the formattedValue if you want the Value then use rawValue. So if the user selects a size from the dropdown you can add this code to the exit event:



Fieldname.rawValue = this.rawValue;



and that will put the price into the field for you.