ViewHelper Documentation
validation.ifHasErrors
This view helper allows to check whether validation errors adhere to the current request.
= Examples =
<f:validation.ifHasErrors>
Please fill out all fields according to the description
</f:validation.ifHasErrors>
<f:form name="blog">
</f:form>
<f:form.textfield property="title" />
<span class="error-text">You must provide a title.</span>
Arguments
then anySimpleType
Value to be returned if the condition if met.
else anySimpleType
Value to be returned if the condition if not met.
for string
The argument or property name or path to check for error(s). If not set any validation error leads to the "then child" to be rendered