Hi!
I've been looking up and down for some example regarding dynamic/linked
select boxes with Zend_Form. I have a form that when the user clicks on the
country select box, an other select box should display all cities belonging
to this country.
Can someone share some way to accomplish this?
Hi,
My thinking is you need to use javascript/ajax for this,
You could render the select boxes in zend_form, one populated with the
cities and one empty, and then manipulate them in JS using dom id's,
Of course you could post back to the server when each city is chosen
and then rebuild the form
I've searched through the forums here and was surprised that I couldn't find
much information about creating dynamic select boxes within zend form.
What I need is a basic country-populate states setup, where a text field is
provided (or enabled) if any country other than US or Canada is