clonefish logo

templating inside a generated form helps creating complex form layouts

template

This one is a special element type: it's a template (a "container") for displaying other elements in a special way. It's great if you want to display a group of checkboxes for example - check the live example! Please note, that the value of this element is NOT returned by $clonefish->getElementValues().

This setting assumes that the elements called newslettercheckbox, confirmcheckbox, marketingcheckbox are already defined, and they have inherited the form 'element' layout setting of a tabular form layout, which is a table row.