[development] Form fields in a table

John Fiala jcfiala at gmail.com
Fri Sep 3 14:38:19 UTC 2010


Generally what you want to do to get a table as part of a form is to
declare a theme function that you then assign as '#theme' =>
'function_name', where the theme function is theme_function_name.

This used to confuse the heck out of me, and then I went in and read
through the code on the admin/content/node page, which is a pretty
good example of how to display a form in a table, I think.


-- 
John Fiala
www.jcfiala.net


More information about the development mailing list