Are you sure a link would HABTM episodes (sounds more like a hasMany)? If so, you need to read the following book page:
http://book.cakephp.org/view/85/Saving-Related-Model-Data-HABTM It's all about getting the field names right which then forms $this- >data in the correct manner, once you've done that a $this->Model- >saveAll($this->data); will do the job. Here's a simple form on my website: <p>Select one or more regions and categories.</p> <?php echo $ajax->form('edit', 'post', array('model'=>'ContentFilter', 'update'=>'contentFilters')); echo $form->input('Region', array('type'=>'select', 'multiple'=>'checkbox', 'options'=>array($regions))); echo $form->input('Category', array('type'=>'select', 'multiple'=>'checkbox', 'options'=>array($categories))); echo $form->end('Apply'); ?> Make sure you pass an array to the form view (specified by options parameter for field) which can easily be formed using $Model->find ('list'). --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
