{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}