{form.javascript:h} {form.outputHeader():h} {form.outputHeader():h} {form.hidden:h} {foreach:form.sections,sec} {foreach:sec.elements,elem} {if:elem.style} {elem.outputStyle():h} {else:} {if:elem.isButton()} {if:elem.notFrozen()} {end:} {else:} {if:elem.isType(#textarea#)} {end:} {end:} {end:} {end:} {if:form.requirednote} {end:}
{sec.header}
  {elem.html:h}
{if:elem.required}*{end:} {if:elem.error}{end:} {elem.label:h}:
{if:elem.error}
{end:} {else:}
{if:elem.required}*{end:} {if:elem.error}{end:} {elem.label:h}: {if:elem.error}{end:} {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:}
  {form.requirednote:h}
 

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}