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.

The form comes out like this:

<input type="hidden" name="data[User][Coppa]"  value="0"
id="UserCoppa_" /><input type="checkbox" name="data[User][Coppa]"
id="UserCoppa" value="1" />


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Cake 
PHP" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/cake-php
-~----------~----~----~----~------~----~------~--~---

Reply via email to