Jump to content


Adding two tables in one page

two-tables add

  • Please log in to reply
1 reply to this topic

#1 Suad Ara

Suad Ara

    Newbie

  • Members
  • Pip
  • 2 posts

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?

 

 



#2 davidoster

davidoster

    Grocery CRUD Ninja

  • Advanced Member
  • PipPipPip
  • 1,068 posts
  • LocationAthens, Greece

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.


____________________________________________________________

 

rtfm_small.jpg---!!!Please read these guidelines before asking to the forums!!!---

____________________________________________________________

 

David Oster aka George Pasparakis,
http://odphotography.com
http://eletter.gr






0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users