I have a pretty basic form that looks like this:
<?= $form->create(); ?>
<?= $form->checkbox('contest.agree'); ?> I have read & agreed to the
<a href="#2" class="cross-link">contest rules</a>
<?= $form->end('Join This Contest!'); ?>
This is in the 'contests' controller.
When the form is submitted however, I get this:
Array
(
[Users] => Array
(
[agree] => 1
)
)
Any idea why the first parameter in the array is 'Users'? It should be
'Contests' .. and there is no mention of Users anywhere in the
controller or view.
--~--~---------~--~----~------------~-------~--~----~
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?hl=en
-~----------~----~----~----~------~----~------~--~---