The GUI for the field definition is done.
You simply drag & drop the fields you want to have in the title, header and footer to their respective places, and can even sort them within those places as well (by draggin' & droppin').
Easy as pie. Drag fields to the recycle bin to get rid of them. No scripting language needed!