Differences

This shows you the differences between two versions of the page.

english:phpwcms-system:article:contentparts:form:templates [2010/03/14 11:09]
Knut Heermann (flip-flop)
english:phpwcms-system:article:contentparts:form:templates [2018/06/03 18:09] (current)
Line 9: Line 9:
IF Statement **[IF_ERROR]** in custom template: IF Statement **[IF_ERROR]** in custom template:
-E.g. if an error appears in the field "vorname".+E.g. if an error appears in the field "first_name".
<code html> <code html>
-<input type="text" class="form_text[IF_ERROR:vorname] form_fehler[/IF_ERROR]" value="{vorname}" id="vorname" name="vorname" /> +<input type="text" class="form_text[IF_ERROR:vorname] form_error[/IF_ERROR]" value="{first_name}" id="first_name" name="first_name" /> 
-[IF_ERROR:vorname] Fehler: {ERROR:vorname}[/IF_ERROR]+[IF_ERROR:first_name] Error: {ERROR:first_name}[/IF_ERROR]
</code> </code>
english/phpwcms-system/article/contentparts/form/templates.1268561389.txt.gz · Last modified: 2018/06/03 18:07 (external edit)
www.planmatrix.de www.chimeric.de Creative Commons License Valid CSS Driven by DokuWiki do yourself a favour and use a real browser - get firefox!! Recent changes RSS feed Valid XHTML 1.0