Skip to main content

Introducing Workflow Engine, try for FREE workflowengine.io.

Function: getValidationRuleDefinition()

getValidationRuleDefinition(rules, settings): ResolvedValidationRuleDefinition | undefined

Returns the validation rule definition for the persisted rule settings.

Parameters

rules

FormViewerValidationRules

the validation rules for the component value type.

settings

ValidationRuleSettings

the persisted validation rule settings.

Returns

ResolvedValidationRuleDefinition | undefined

the rule definition when found, otherwise undefined.

Stay in the know
Quickly Build Drag-and-Drop Forms
Star us on GitHub