⚠ In case you've missed it, we have migrated to our new website, with a brand new forum. For more details about the migration you can read our blog post for website migration. This is an archived forum. ⚠

  •     

profile picture

Add new rows to related table when editing existing record in edit view



K.B.
  • profile picture
  • Member

Posted 16 August 2012 - 20:49 PM

Add new rows to related table when editing existing record in edit view?

Is it possible to do this if you have a datagrid with a set_relation_n_n lets say "cars" to "garage" Is it possible to add new cars while editing a garage row? Save and have it populate the cars table (with the newly added car from Garage edit page) as well as the cars_garage relation table?

Hard to word this I know.. but I'm looking for a similar example.