Re: Inserting multiple records into the same model from one form

2008-01-17 Thread hydra12
I wrote a tutorial on this awhile back. You can find it here: http://www.ntatd.org/mark/?p=28. It's a little bit strange because of the date stuff I was also having to deal with (it's just working code from a project I had), but maybe it will help a little. Let me know if I can help. hydra12

Inserting multiple records into the same model from one form

2008-01-15 Thread Brian
I want to insert multiple records into a single model using a single form. So let's say you want a form that collects 30 names and then inserts 30 records into a "people" model/table. In standard code I would uniquely name all form elements and then use a loop to dump them in to the table. How c