tag:blogger.com,1999:blog-3245916438183610692.post1204084669842794430..comments2024-03-29T16:37:58.091+08:00Comments on blog.cawanpink.net: Custom filter query in symfony 1.4Anonymoushttp://www.blogger.com/profile/13251437667307389030noreply@blogger.comBlogger2125tag:blogger.com,1999:blog-3245916438183610692.post-57516952663915503792011-06-14T00:42:25.000+08:002011-06-14T00:42:25.000+08:00Hi man im strugling with this issue for more than ...Hi man im strugling with this issue for more than 2h now. cant get this working. Im using propel though but still i get: LogicExceptionCannot update form fields.marking the error in this very first line $this['alquilado']= new sfWidgetFormChoice(array('choices' => array('' => 'yes or no', 1 => 'yes', 0 => 'no')));im going to keep trying but i dont seem to be near fixing it if the error comes out with what is the most basic line.i modified the getFields. tried with: $fields=parent::getFields(); $fields['alquilado']='alquilado'; return $fields;and : $fields=parent::getFields(); $fields['alquilado']='Boolean'; return $fields;any ideas?Jamesnoreply@blogger.comtag:blogger.com,1999:blog-3245916438183610692.post-12657705092857215612011-06-14T00:49:37.000+08:002011-06-14T00:49:37.000+08:00for get it stupidest error ever i forgot it was : ...for get it stupidest error ever i forgot it was : $this->widgetSchema['alquilado']=new sfWidgetFormChoice(array('choices' => array('' => 'yes or no', 1 => 'yes', 0 => 'no')));Jamesnoreply@blogger.com