Hi All - I'm have a job-board app that has a Resume model which hasMany FormerEmployer models (like for employment history). There's plenty of discussion on how to save the data on the controller side (at least, that I've been able to find), but my question is, is how do you build up the form, so when I hit submit, it will send the Resume and the associated FormerEmployer (more than one) data fields that I can handle back in the controller?
Can somebody fill in the missing pieces for me? <?php echo $form->input('first_name'); ?> <?php echo $form->input('last_name'); ?> <h2>Former Employers</h2> <?php foreach ($this->data['FormerEmployer'] as $employer): // THIS ISN'T RIGHT... ?> <?php echo $form->input('FormerEmployer.name'); ?> <?php endforeach; ?> I'm using cake 1.2... Thanks, Rich --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Cake PHP" group. To post to this group, send email to cake-php@googlegroups.com 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 -~----------~----~----~----~------~----~------~--~---