Re: [symfony-users] Getting information from simple drop-down list form

2011-02-22 Thread Gareth McCumskey
Inside an action $this-value is not the same as $value. Use either $this-value or $value not both. Also, it would be a better idea to use the forms framework even for simple forms. It protects you from alsorts of malicious attacks. Or, at the very least, have some very good validations of

Re: [symfony-users] Getting information from simple drop-down list form

2011-02-22 Thread Jamie Hall
Also, your function declaration is wrong too: public function executeIndex($request) should be: public function executeIndex(sfWebRequest $request) { } :-) On 22 February 2011 14:42, Gareth McCumskey gmccums...@gmail.com wrote: Inside an action $this-value is not the same as $value. Use