Nesting forms in CakePHP

Posted by Erik on Stack Overflow See other posts from Stack Overflow or by Erik
Published on 2010-05-03T14:35:42Z Indexed on 2010/05/03 14:38 UTC
Read the original article Hit count: 261

Filed under:

I am wondering if there's a way in CakePHP to nest multiple models in a form?

What I'm trying to accomplish is to make a form for creating Posts that will also contain fields for adding Images (separate model) that will automatically be connected to the created post.

Something similar to Ruby on Rails ** accept_nested_attributes_for**.

© Stack Overflow or respective owner

Related posts about cakephp