Possible Duplicate:
Theme Drupal Form API checkboxes as a grid
I would like to create a form that is able to accept values which will be saved into a multidimensional array. Is there an advised method on how to accomplish this with Form API?
As an example:
| A | B | C |
--+-----+-----+-----+
1 | | | |
--+-----+-----+-----+
2 | | | |
--+-----+-----+-----+
3 | | | |
--+-----+-----+-----+
I would like to have a textfield for each grid square and save the end value into a single array which will be serialized and saved as a variable.
EDIT: Just to clarify, I don't particular care if the form is output as a TABLE in a HTML sense, but it would obviously be nice to have it stored as a multidimensional array from a PHP perspective.