Filter

Discussion around this tutorial for symfony 1.2-1.4

Filter

Postby 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.
parsival7
Junior Member
 
Posts: 3
Joined: Tue Aug 30, 2011 7:05 am

Return to jobeet

Who is online

Users browsing this forum: No registered users and 0 guests