PHP Class Neos\FluidAdaptor\ViewHelpers\Validation\IfHasErrorsViewHelper

= Examples =
Please fill out all fields according to the description
You must provide a title.
Inheritance: extends Neos\FluidAdaptor\Core\ViewHelper\AbstractConditionViewHelper
Show file Open project: neos/flow-development-collection Class Usage Examples

Public Methods

Method Description
render ( string $for = null ) : string Renders child if there are validation errors. The check can be narrowed down to specific property paths.

Method Details

render() public method

If no errors are there, it renders the -child.
public render ( string $for = null ) : string
$for string The argument or property name or path to check for error(s)
return string