Hi ileana
You can add the widget to the form class ej:
you can go to the lib/form/doctrine/theform.class.php where theform is the
form that you want to modify (I guest that you are using doctrine and your
form is base on it )
add to the configure the widget (depending of the type of widget that
In your yourForm.class.php add
class yourForm extends BaseyourForm
{
public function configure()
{
$this->setWidget('fieldname' , new sfWidgetFormInputText());
$this->setValidator('stuff_list' , new
sfValidatorString(array('max_length' => 255)));
}
2010/10/19 Martin Ibarra Cervan
maybe you can try use
in your form view.
On Tue, Oct 19, 2010 at 11:30 AM, eliana m. wrote:
> hello.
> I have a question.
> I can build a form with a field that does not exist in the model?
> Thank you for your help.
>
> --
> If you want to report a vulnerability issue on symfony, please sen
hello.
I have a question.
I can build a form with a field that does not exist in the model?
Thank you for your help.
--
If you want to report a vulnerability issue on symfony, please send it to
security at symfony-project.com
You received this message because you are subscribed to the Google
Gr