Package

ViewHelpers

ViewHelper Documentation

v:if.form.hasValidator

Form: Field Has Validator?

Takes a property (dotted path supported) and renders the then-child if the property at the given path has any

Arguments

then anySimpleType

Value to be returned if the condition if met.

else anySimpleType

Value to be returned if the condition if not met.

property string

The property name, dotted path supported, to determine required

validatorName string

The class name of the Validator that indicates the property is required

object anySimpleType

Optional object - if not specified, grabs the associated form object

ViewHelper Resources

Schema Resources