This forum is in READ-ONLY mode.
You can look around, but if you want to ask a new question, please use Stack Overflow.


Discussion around this tutorial for symfony 1.2-1.4


by parsival7 » Tue Sep 13, 2011 9:39 am

Symfony 1.4
I have some problem with filters.

if I use:
Code: Select all
 'is_active'  => new sfWidgetFormFilterInput(array('with_empty' => false)),

it works

but if I change it to:
Code: Select all
 'is_active'  => new sfWidgetFormChoice(array('choices'=>array(  1=>'Yes', 2=>'No' )) ),

Filter doesn't work.
Junior Member
Posts: 3
Joined: Tue Aug 30, 2011 7:05 am