Have autocomplete display values different than the returned value from a form?
gajillion - February 14, 2008 - 21:11
I'm sure the answer to this is somewhere, but I can't see it. Is it possible to have autocomplete display values that are different than the one the form returns? I have a database of "foods" that all have a numerical ID (because some of the foods have similar if not identical names based on their relationship to other foods). I still want the food to be selectable by name, but want to return the numerical ID instead of the name (which would be impossible to differentiate from other foods of the same name). I looked at Enhanced Autocomplete http://drupal.org/node/125231 but that didn't seem to have that functionality, though one of the comments implied it might. Thanks.

any news on this one? I'm
any news on this one? I'm looking for a solution to a similar problem.