By kstellana on
Hey there,
I'm trying to make form where there are for example 2 textfields. I have made the first one autocompletable the way I needed but I'd need to make that depending on the choice of the first, the second field is filled with some info related to that choice.
I don't know where nor how to say what field have to be modified.
I guess I need to make use of some javascript in here but then i dont know what handler use nor much a clue about how to go on from here.
Could someone show me my path?
Thanks you all
Comments
Try use
Try use http://www.brandspankingnew.net/specials/ajax_autosuggest/ajax_autosugge... with defining callback function (by link above you can see example of callback function).
Well, maybe I didn't explain
Well, maybe I didn't explain the problem properly.
I've got the autocomplete working for the first field. What I need is the other field to be filled when the first is completed.
For example, you have a field for towns with autocompletion and another with the post code that autofills when the city is decided.
I don't know how to make it fill the second field.
Thanks