On Aug 24, 2006, at 12:13 PM, Simplerules wrote:
I have this in a view file:
?php echo $html-checkbox('User/Coppa', array('onclick' =
watch('data[User][Coppa]', 'regform', 'birthdate', 'Coppa'))); ?
but the html attributes are not added.
That's because they are the third parameter
I guess the CakePHP manual is out of date:
checkbox
string $fieldName
array $htmlAttributes
boolean $return = false
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups Cake
PHP group.
To post to this group, send email
On Aug 24, 2006, at 12:24 PM, Simplerules wrote:
I guess the CakePHP manual is out of date:
checkbox
string $fieldName
array $htmlAttributes
boolean $return = false
Make sure to log a ticket to make sure it gets fixed.
-- John
--~--~-~--~~~---~--~~
You
you should file a bug in htts://trac.cakephp.org against that (if
there isn't one already) so John can fix it ;)
On 8/24/06, Simplerules [EMAIL PROTECTED] wrote:
I guess the CakePHP manual is out of date:
checkbox
string $fieldName
array $htmlAttributes
boolean $return = false