⚠ 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

Adding two tables in one page



Suad Ara
  • profile picture
  • Member

Posted 03 July 2013 - 11:32 AM

I have two related tables with many to many relationship. for example, product has specifications. Is there a way to create add page for product that contains also specifications fields, so i can add the two records in both tables in the same page?

 

 


davidoster
  • profile picture
  • Member

Posted 04 July 2013 - 07:49 AM

No there isn't one as I am aware off.

The only way to do it is by using callback_after_insert where somehow you have got the fields for the second table and you make a manual insert.

Theoretically can be done. It is just not been implemented anywhere within the library so you need to build this feature yourself.