Package

ViewHelpers

ViewHelper Documentation

v:condition.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.

condition boolean

Condition expression conforming to Fluid boolean rules

property string

The property name, dotted path supported, to determine required.

validatorName string

The name of the validator that must exist for the condition to be true.

object anySimpleType

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

ViewHelper Resources

Schema Resources