A form I am working on has a combo box which is for foreign currency names (US Dollar, Japanese Yen etc). Next to the combo box is a blank field for the corresponding 3 letter code for the currency (e.g. USD, JPY etc). When a user selects a currency from the drop down menu I need the field next to it to display the corresponding 3 letter currency code.
If anyone is able to point me in the right direction I would be eternally grateful.
If you set the export value of each combo box item to the corresponding three-letter code, the calculate script for the text field can be:
// Custom Calculate script for text field event.value = getField("currency_name").value;
Replace "currency_name" with the actual name of the combo box.
Bingo! Worked beautifully.
Thank you so much for your help George. I never considered using the 'export value' option.