# Form\_for to dynamically add multiple child objects

**URL:** <https://www.ruby-forum.com/t/form-for-to-dynamically-add-multiple-child-objects/141390>\
**Category:** Rails\
**Created:** [June 25, 2008, 11:17am UTC](https://www.ruby-forum.com/t/form-for-to-dynamically-add-multiple-child-objects/141390 "2008-06-25T11:17:44Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![goodwill](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/g/ac8455/32.png) [@goodwill](https://www.ruby-forum.com/u/goodwill)\
**Post date:** [June 25, 2008, 11:17am UTC](https://www.ruby-forum.com/t/form-for-to-dynamically-add-multiple-child-objects/141390/1 "2008-06-25T11:17:44Z")

</div>

I have a data structure as follows:  
Task has\_many Reminders

Now I would like to have users able to specify one or more reminder in  
the task form at the time when user creates the task. How could I do  
that? The same issue applies when I have one or more reminders being  
created, I would like to allow the user to modify all these reminders  
same time when they are modifying the task.

---

<div class="post-metadata">

**Author:** ![goodwill](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/g/ac8455/32.png) [@goodwill](https://www.ruby-forum.com/u/goodwill)\
**Post date:** [June 25, 2008, 2:47pm UTC](https://www.ruby-forum.com/t/form-for-to-dynamically-add-multiple-child-objects/141390/2 "2008-06-25T14:47:12Z")

</div>

Check out the railscasts series on complex forms:

> **[\#73 Complex Forms Part 1 - RailsCasts](http://railscasts.com/episodes/73-complex-forms-part-1)**
>
> Short Ruby on Rails screencasts containing tips, tricks and tutorials. Great for both novice and experienced web developers.

> **[\#74 Complex Forms Part 2 - RailsCasts](http://railscasts.com/episodes/74-complex-forms-part-2)**
>
> Short Ruby on Rails screencasts containing tips, tricks and tutorials. Great for both novice and experienced web developers.

> **[\#75 Complex Forms Part 3 - RailsCasts](http://railscasts.com/episodes/75-complex-forms-part-3)**
>
> Short Ruby on Rails screencasts containing tips, tricks and tutorials. Great for both novice and experienced web developers.

Should be of help.
