Developing a form for field staff to go out and do plant surveys. Some staff are comfortable specifying a plant code, but others are more comfortable with common or scientific names. I've developed the UI to have a 3 option choice (Code/Scientific/Common Name) and then based on that choice a group appears where there is a pulldown for the user to type what they're looking for and then a PullData in the Calculation column then autopopulates the other two fields.
All of this works just fine but there could be situations that a user may need to switch options, because they don't know the plant code or whatever. That could result in data loss so I have created three hidden fields which I'd like to populate with the relevant information as a "final" resting place for that information.
So, is there a way to populate the UI as I am currently doing *AND* populate the hidden fields at the same time?
The UI:

The XLSForm:

Thanks!
Steve