$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. -- 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.
