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