Differences

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

english:phpwcms-system:article:contentparts:form:templates [2009/04/25 08:06]
127.0.0.1 external edit
english:phpwcms-system:article:contentparts:form:templates [2018/06/03 18:09] (current)
Line 4: Line 4:
 FIXME short description  FIXME short description
 +
 +\\
 +
 +IF Statement **[IF_ERROR]** in custom template:
 +
 +E.g. if an error appears in the field "first_name".
 +
 +<code html>
 +<input type="text" class="form_text[IF_ERROR:vorname] form_error[/IF_ERROR]" value="{first_name}" id="first_name" name="first_name" />
 +[IF_ERROR:first_name] Error: {ERROR:first_name}[/IF_ERROR]
 +</code>
english/phpwcms-system/article/contentparts/form/templates.1240639592.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