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