form helper-> checkbox, issue with simpletest

2009-09-28 Thread Crazy
Hi, When writing tests a project of ours, we used simpletest. We ran into a problem that the formhelper adds a value to the checkbox. This causes that simpletest can not check if the checkbox is checked or not. Is there a reason for the 'value=' to be added?, because this value does not change.

Re: checkbox issue

2008-12-05 Thread dr. Hannibal Lecter
Something like this should do it: echo $form->input('Model.Field', array('type' => 'select', 'multiple' => 'checkbox', 'options' => $anArrayOfOptions)); Hope that helps! On Dec 4, 7:40 pm, gayatri <[EMAIL PROTECTED]> wrote: > i not able to get the value of multiple checkboxes can any help me in

Re: checkbox issue

2008-12-05 Thread deepesh
Hi, Can you plz paste your code here !! Best regards, Deepesh gairola On Dec 4, 11:40 pm, gayatri <[EMAIL PROTECTED]> wrote: > i not able to get the value of multiple checkboxes can any help me in > thisissue. --~--~-~--~~~---~--~~ You received this message

checkbox issue

2008-12-05 Thread gayatri
i not able to get the value of multiple checkboxes can any help me in this issue. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "CakePHP" group. To post to this group, send email to cake-php@googlegroups.com To uns