{$dynform.javascript} {$dynform.hidden} {foreach item=element from=$dynform.elements} {if $element.style} {include file="smarty-dynamic-`$element.style`.tpl} {/if} {* NOTE: Another way is to have smarty template code in $element.style. In this case you can do: {if $element.style} {eval var=$element.style} {/if} *} {if $element.type eq 'static'} {$element.html} {else} {/if} {/foreach} {* {if $dynform.requirednote and not $dynform.frozen}
{$dynform.requirednote}
{/if} *}