I have installed the suggest on a webform. The purpose of this function is to add books to a database.
Some of the fields have a suggest list like author, format, language.
I have also a hidden field with the name AuthorID. The intention is now that the value of this field is equal to the ID of the selected author or format.
I added the ID's to the array like this : ( in the suggestion.php file )
$aSuggest = array( 'txt' => $aSuggestions , 'ID' => $aSuggestionsID );
I changed also some function in the suggestion.js
to show the correct suggestion list.
This works perfect, the suggest list works. But I don't know how I can change the value of the AuthorID when I select a new author.
How can I do this quit easily ?