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?
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?
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.
____________________________________________________________
---!!!Please read these guidelines before asking to the forums!!!---
____________________________________________________________
David Oster aka George Pasparakis,
http://odphotography.com
http://eletter.gr
Support →
I have a question →
CSRF Regenerate Not WorkingStarted by satheesh, 10 Dec 2019 ![]() |
|
![]() |
||
Support →
I have a question →
how to change action path of add,edit,delete action in list page.Started by Huynh Hoang, 07 Feb 2017 ![]() |
|
![]() |
||
Support →
I have a question →
auto populate a column in another tableStarted by Ahmed Adebiyi Oladapo, 09 Sep 2016 ![]() |
|
![]() |
||
Support →
Bugs / Issues →
GroceryCrud Add and Update does not workStarted by Traveller, 06 Aug 2016 ![]() |
|
![]() |
||
Support →
Bugs / Issues →
grocery crud add/update throws 404 error insert_validation not found.Started by Php Power Arts, 01 Jun 2016 ![]() |
|
![]() |
0 members, 0 guests, 0 anonymous users