Voting starts in March for the Drupal Association Board election.
For a Drupal 7 module I'm working on, I'm trying to figure a way for my autocomplete_path function for a textfield to return additional information back to the hook_form function it was called from.
If including the additional info in the return (which I have a strong feeling) is not possible, is there a way to define variables in a scope to make this work decently for a per user per form basis?
The reason I want to do this is that I'm getting the auto complete info via querying another site for musical information and returning "artist - song" for the textfield but would like the function to also return a song ID (hidden form the user) that I could use back in the form show additional information about the song (e.g. album image.)
Any help is appreciated.