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 Cervantes <ibarra.cervan...@gmail.com>

> maybe you can try use
>
> <input type="input" name ="name" />
>
> in your form view.
>
>
>
> On Tue, Oct 19, 2010 at 11:30 AM, eliana m. <eliana...@gmail.com> 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 send it to
> security at symfony-project.com
> >
> > You received this message because you are subscribed to the Google
> > Groups "symfony users" group.
> > To post to this group, send email to symfony-users@googlegroups.com
> > To unsubscribe from this group, send email to
> > symfony-users+unsubscr...@googlegroups.com<symfony-users%2bunsubscr...@googlegroups.com>
> > For more options, visit this group at
> > http://groups.google.com/group/symfony-users?hl=en
> >
>
> --
> 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
> Groups "symfony users" group.
> To post to this group, send email to symfony-users@googlegroups.com
> To unsubscribe from this group, send email to
> symfony-users+unsubscr...@googlegroups.com<symfony-users%2bunsubscr...@googlegroups.com>
> For more options, visit this group at
> http://groups.google.com/group/symfony-users?hl=en
>

-- 
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
Groups "symfony users" group.
To post to this group, send email to symfony-users@googlegroups.com
To unsubscribe from this group, send email to
symfony-users+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/symfony-users?hl=en

Reply via email to