I have a drop-down list on a form, with hard-coded values in both the "Choices" box and the "Values" box. I would like to be able to access data from both of these boxes, so that when I store form data onto a template, I can retrieve data from both the "Choices" box and the "Values" box.
Example: the drop-down list is defined as such:
In the Choices box are a list of entities, and in the Values box is the email address for each entity. The checkbox "Assign values to choices" is checked, and the checkbox "Append choices to lookup results" is not checked.
What I need to be able to do is retrieve the selected "entity name" from the Choices box and put that into a field on a template, and also retrieve the "email address" for that same selected entity and put that into another field on the same template.
Can this be done?