Re: [fw-general] Zend Form: Dynamic/Chained select boxes
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 each time but this is not recommended Thank You Daniel Latter 2008/12/3 lmcosorio <[EMAIL PROTECTED]>: > > 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? > > Thanks, > > Luis > > > gigantorTRON wrote: >> >> 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 >> selected. >> >> What's the best approach to this? >> >> Thanks. >> > > -- > View this message in context: > http://www.nabble.com/Zend-Form%3A-Dynamic-Chained-select-boxes-tp20099459p20803880.html > Sent from the Zend Framework mailing list archive at Nabble.com. > >
Re: [fw-general] Zend Form: Dynamic/Chained select boxes
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? Thanks, Luis gigantorTRON wrote: > > 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 > selected. > > What's the best approach to this? > > Thanks. > -- View this message in context: http://www.nabble.com/Zend-Form%3A-Dynamic-Chained-select-boxes-tp20099459p20803880.html Sent from the Zend Framework mailing list archive at Nabble.com.
[fw-general] Zend Form: Dynamic/Chained select boxes
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 selected. What's the best approach to this? Thanks. -- View this message in context: http://www.nabble.com/Zend-Form%3A-Dynamic-Chained-select-boxes-tp20099459p20099459.html Sent from the Zend Framework mailing list archive at Nabble.com.