Flexy template for Object renderer

{form.javascript:h} {form.outputHeader():h}

{form.outputHeader():h} {form.hidden:h} {foreach:form.sections,sec}
{sec.header}
{foreach:sec.elements,elem} {if:elem.style} {elem.outputStyle():h} {else:} {if:elem.isButton()} {if:elem.notFrozen()}
| {elem.html:h}
{end:} {else:}
{if:elem.isType(#textarea#)} {if:elem.required}*{end:}{elem.label:h} {else:} | {if:elem.required}*{end:}{elem.label:h}: | {end:} {if:elem.error}{elem.error} {end:} {if:elem.isType(#group#)} {foreach:elem.elements,gitem} {gitem.label:h} {gitem.html:h}{if:gitem.required}*{end:} {if:elem.separator}{elem.separator:h}{end:} {end:} {else:} {elem.html:h} {end:}
{end:} {end:} {end:} {end:} {if:form.requirednote}
| {form.requirednote:h}
{end:}

Collected Errors:
{foreach:form.errors,name,error} {error:h} in element [{name:h}]
{end:}

Best Practice:
Use only one dynamic form template like this for your
Flexy driven project. You include this where
to place a form with the formdata object rendered by
Object QuickForm Renderer as option:

    <include file=form-dynamic.tpl form={formdata}>

The used "Dynamic" Object

    {dynamic_object}