Quantcast
Channel: Recent Discussions — DataTables forums
Viewing all articles
Browse latest Browse all 81728

Ability to create rows in a table when creating a record in another table

$
0
0

Is there functionality in the editor that when creating a new record in one table, to add multiple records in another table, that are then related to the new record being created?

So, the scenario is:

In the process of creating a new record in table 'unit', where the editor has name field etc for the new 'unit' record. Underneath 'name field is a another field input to add a 'unit outcome' for that new unit. The 'unit outcome' field creates a new record in table 'unit_outcome' that is automatically related through foreign key to the created 'unit' record. In addition, there needs the ability to add multiple 'unit_outcomes' fields in the editor by using something like a + button. So the abillity to create an infinite number of unit_outcomes for the unit at the time the unit is created which are all related to the new unit.


Viewing all articles
Browse latest Browse all 81728

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>