Use checkboxes to edit multiple records in one form, where each one has an individual set of form fields.
Add and remove nested model fields dynamically through JavaScript using either Prototype or jQuery.
Learn about some of the more advanced functionality of Formtastic including handling many-to-many associations, required fields, and styling.
Complex forms often lead to complex controllers, but that doesn't have to be the case. In this episode see how you can create multiple models through a single form while keeping the controller clean.
See how to use Javascript and RJS to add and remove form fields dynamically. This episode will build upon the previous episode allowing you to create any number of tasks in one form the same time a project is created.
In this third and final episode on complex forms I will show you how to edit a project and multiple tasks all in one form. This includes removing and adding tasks dynamically as well. See the show notes for updated code.