1 person found this helpful
NumericField.rawValue = Countries.rawValue;
Will get you the rawValue (bound value) of the list box.
See here for an example: http://assure.ly/fYCuQ2.
Hope that helps,
Instead of getDisplayItem() method, you use getSaveItem()
Country.rawValue = Countries.getSaveItem(Countries.selectedIndex);
Thanks Nith and Niall for your help.
The getsaveitem is spot on!
I have one more question. Is it possible to associate more than 1 numeric value to an entry of a list box or drop down?
For example, let's say I have a country Algeria for which my cost is 100 USD but the additional cost for additional things is 50 USD.
Can I get the getsaveitem for both into two different fields? So, one saying Price and the other one saying additional price?