RE: [fw-general] How to set up dependant dropdowns in form

2009-04-28 Thread Anthony Smith
I want to USE the SUB values to get the values for the TERRITORY. How do I do that? From: Bart McLeod [mailto:mcl...@spaceweb.nl] Sent: Monday, April 27, 2009 11:22 AM To: 411161 Cc: fw-general@lists.zend.com Subject: Re:

Re: [fw-general] How to set up dependant dropdowns in form

2009-04-27 Thread Bart McLeod
You should be using dojo selects in the first place, I have a working example (4files): file index.phtml (in scripts/ directory) doctype() ?> headTitle() ?> headMeta() ?> headLink() ?> headStyle() ?> $this->dojo()->setLocalPath('/zf/js/dojo/dojo.js') ->addStyl

Re: [fw-general] How to set up dependant dropdowns in form

2009-04-27 Thread 411161
Ace Paul wrote: > > I have a form, which I would like to use dependent drop downs in. I can't > seem to find anything about it hear, after looking all morning trying to > work it out. > I have one field "race_country" > when an option is selected I would like to show the cities in that > countr

Re: [fw-general] How to set up dependant dropdowns in form

2008-12-14 Thread Cameron
try calling it statically, Zend_Json::encode($data); On Sun, Dec 14, 2008 at 11:39 PM, Ace Paul wrote: > > thanks for your help on this. > I'm trying to get this going, but not having any luck at all, especially > seeing as I haven't used json with zend yet. > > I'm getting this error in my contr

Re: [fw-general] How to set up dependant dropdowns in form

2008-12-14 Thread Ace Paul
thanks for your help on this. I'm trying to get this going, but not having any luck at all, especially seeing as I haven't used json with zend yet. I'm getting this error in my controller file. Method "encodeJson" does not exist and was not trapped in __call() public function _prepareautocom

Re: [fw-general] How to set up dependant dropdowns in form

2008-12-09 Thread Ace Paul
Thank you very much for the reply. I have been looking high and low for a solution. I will let you know how I go with this. Thanks Themselves wrote: > > I have spent WAY too much time getting this exact scenario working using > Zend Dojo forms and an MVC environment, and I plan on building an

Re: [fw-general] How to set up dependant dropdowns in form

2008-12-08 Thread Cameron
I have spent WAY too much time getting this exact scenario working using Zend Dojo forms and an MVC environment, and I plan on building an extensive article explaining it all soon, but for now, here's the really quick and dirty version. I haven't gotten my version perfect yet, I'm still not happy w