Hi PHPR community,
How to populate a details table when the Add new button is clicked on the parent table.
FORMDETAIL table will have data from the CATEGORY and SUBCATEGORY table.
Much better if listing on the FORMDETAIL table will be organized as tab using the CATEGORY table name.
FORM parent
id
name
system_id
FORMDETAIL detail
id
form_id
category_id
subcategory_id
CATEGORY
id
name
SUBCATEGORY
id
name
category_id
How to populate a details table when the Add new button is clicked on the parent table.
FORMDETAIL table will have data from the CATEGORY and SUBCATEGORY table.
Much better if listing on the FORMDETAIL table will be organized as tab using the CATEGORY table name.
FORM parent
id
name
system_id
FORMDETAIL detail
id
form_id
category_id
subcategory_id
CATEGORY
id
name
SUBCATEGORY
id
name
category_id