Monday, September 28, 2009

form helper-> checkbox, issue with simpletest

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.

Is this an issue in the formhelper?, we could convert all the
checkboxes with the formhelper to html. But that's something we would
like to avoid.

Thanks
--~--~---------~--~----~------------~-------~--~----~
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 unsubscribe from this group, send email to cake-php+unsubscribe@googlegroups.com
For more options, visit this group at http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---

No comments: