Not sure I fully understand "Your Ajax fields need to be wrapped in data[]"
The form looks like this:
<?php echo $form->create(array('type' => 'post','action' => 'update')); ?>
<fieldset>
<p> Select from the options below</p>
<div class="user_checks">
<?php
echo $form->input($model_table,
array('multiple'=>'checkbox',
'label'=>false));
?>
</div>
</fieldset>
<?php echo $form->end('Submit');?>
<div class="clear"></div>
</div>
Just a bunch of check boxes.
Dave
-----Original Message-----
From: Miles J [mailto:[email protected]]
Sent: June-03-09 1:19 AM
To: CakePHP
Subject: Re: Security Component and AJAX
If you are doing it that way, theres no possible way for your data to show
up in $this->data. Your ajax fields need to be wrapped in data[], else it
should show up in $this->params['form'].
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"CakePHP" 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
-~----------~----~----~----~------~----~------~--~---