You can either debug the validation results or display them in your template.
Debugging the validation results
For debugging have a look in the \TYPO3\CMS\Extbase\Mvc\Controller\ActionController
that your controller extends. You'll find the method callActionMethod()
where the validation results are processed.
Displaying the validation results
For displaying the errors in fluid, use the ViewHelper <f:form.validationResults>
:
<f:form.validationResults>
<f:if condition="{validationResults.flattenedErrors}">
<ul class="errors">
<f:for each="{validationResults.flattenedErrors}" as="errors" key="propertyPath">
<li>{propertyPath}
<ul>
<f:for each="{errors}" as="error">
<li>{error.code}: {error}</li>
</f:for>
</ul>
</li>
</f:for>
</ul>
</f:if>
</f:form.validationResults>