Grid: Editing with parent and child forms

Categories

Component ID

255028

Component name

Grid: Editing with parent and child forms

Component type

module

Maintenance status

Development status

Component security advisory coverage

not-covered

Downloads

2846

Component created

Component changed

Component body

The grid module provides the developer with functions allowing you to create input forms with a parent form and one or more child forms.

You can define input forms in the normal way by creating a php array. The grid functions let you combine the parent form with the child form. The child form is presented as a set of repeating rows (which are laid out in a table, one row per record). The module also automatically inserts some javascript into your form to allow rows of the table to be moved up and down. Some example code is included to give you a worked example.