requiredIfIndex
jdubs edited this page Oct 23, 2016
·
1 revision
Sets conditional entry requirement entry on spec when index of selection spec matches the comparer parameter.
( compared ) Spec control to validate when comparison is true.
( comparer ) The index to trigger requirement of validators.
( options ) Includes all optional properties applied to all validators
[[Name]] [[Title]]
spec['Name'].requiredIfIndex(spec['Title'], 2);