Bind a hidden field with the results of a CFC autosuggest
I have an autosuggest field that returns a country name which works fine.
<cfinput type="text"
name="country" message="You must enter your country of residence" validateat="onSubmit" required="yes" size="45" showAutoSuggestLoadingIcon="false"
autosuggest="cfc:ajaxlookup.getCountries({cfautosuggestvalue})">
I now want to retrieve the country ID from the country selected above and bind it to a hidden field.
Does anyone have a code example?