Monday, 3 February 2014

Symfony customise widget from action class


Symfony 1.4 customize widget from action class

$formBasic->setWidget('email', new sfWidgetFormInputHidden()); 

$formBasic->setDefault('email',$userData['email']);

No comments:

Post a Comment