NAVIGATION
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> | ||