Link to home
Start Free TrialLog in
Avatar of NetExpert-Warszawa
NetExpert-WarszawaFlag for Poland

asked on

Dojo ComboBox autocompletion

I use Zend Framework to create a form element of type Zend_Dojo_Form_Element_ComboBox. I set as a store type.

The final effect is I have got an input in my HTML. The store is queried and I receive a list of possible values. I can select one or enter my own. Everything is OK so far.

The data that is stored in the field is not an identifier of the store. The store data is like:
Let's say d1 is taken as a value.

Now I want to use d2 to populate another field in a form. What should I do? Can I do it on a Zend's side? I have tried to dojo.connect to the combo box, but do not know how to retrieve correct data from the store.
Avatar of Amar Bardoliwala
Amar Bardoliwala
Flag of India image

Link to home
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of NetExpert-Warszawa


Thanks for a reply. I am starting to get the idea :)
However it does not work for me as expected.

<input ...>
The answer does not solve my problem. However thanks for a link to valuable examples.