Hi guys here is my code in my controller (part of it):
$this->form->setDefault('customer_id', $this->getUser()-
>getAttribute('customer_id'));
$SupporTicket = $this->form->save();
$this->hide_form = true;
The problem I am having is I don't want to make customer_id a hidden
field but set it before the form is saved, however the above method is
not working. Does anyone know how I can set form values from within
the code?
Thanks,
Darren
--
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 [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/symfony-users?hl=en