Thank Andro, but not work me. The solutions that i use's following:
In the class sfAction
$value = $sf_request->getRequestParameter('namefield');
in the condition if ($value!='')....that's have value.
Thanks.
On 29 ene, 13:06, Andro <[email protected]> wrote:
> $values = $request->getParameter($this->form->getName()) gets an array
> with all values of form.
> And $values['name_of_your_checkbox'] will get the value if checkbox is
> checked...
>
> On 29 Jan., 03:30, mandyllanes <[email protected]> wrote:
>
>
>
> > Hi,
>
> > I have a field checkbox in my form. In de sfAction class I want know
> > if that field is checked. if my checkbox field is checked i do any
> > thing, but is not i do another things. How am I can do?
>
> > Many thanks.- Ocultar texto de la cita -
>
> - Mostrar texto de la cita -
--
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.