Package

ViewHelpers

ViewHelper Documentation

v:condition.form.isRequired

Is Field Required ViewHelper (condition)

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

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