Grid: Editing with parent and child forms

Steve Lockwood - May 5, 2008 - 20:43

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.

Releases

Official releasesDateSizeLinksStatus
6.x-1.02008-May-0610.79 KBRecommended for 6.xThis is currently the recommended release for 6.x.


 
 

Drupal is a registered trademark of Dries Buytaert.