Re: Checkbox Problem

2006-08-24 Thread John David Anderson (_psychic_)
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

Re: Checkbox Problem

2006-08-24 Thread Simplerules
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

Re: Checkbox Problem

2006-08-24 Thread John David Anderson (_psychic_)
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

Re: Re: Checkbox Problem

2006-08-24 Thread Samuel DeVore
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