I have created drop down field "STATE" which is populated by an xml data source showing all 50 states, per the following example:
<items>
<item>Arizona</item>
<item>Arkansas</item>
<item>California</item>
</items>
I would like text box field "GL" to display the related numerical IDs based on the selection in "STATE". For example, If user chooses California in State, GL value is 382. If user chooses Washingion, GL value is 145.
I know I could set the value using rules but not sure how to write the formla. Any ideas?