Populate multiple form fields with result?
Status: Alpha
Brought to you by:
zervaas
I've just started testing AjaxAC. The
GoolgeSuggestCloneJax application was enough to get me
started, but I've run into a problem I can't figure out.
I have a "suggest" box that a user can type in a
product name. When the user chooses the product they
want from the list of results, I want the product_name
field to be updated with the name (which I've done) and
the product_price field to be updated with the products
price.
In order to do this do I need to return an array and
then populate the fields using a custom JavaScript
function that I would write?
Thank you,
Benjamin