Closed otomn closed 3 years ago
Implement form response validation that takes a SDCForm and a SDCFormResponse and verify that the form response is valid against the given form.
Prerequisite:
textFieldTypeMeta.processor
Requirements:
textFieldTypeMeta.parser
maxSelections
minSelections
selectionDeselectsSiblings
selectionDisablesChildren
children
textResponse
General guideline for error type:
validatedAnswers
@Timmarus Handing over to you
Implement form response validation that takes a SDCForm and a SDCFormResponse and verify that the form response is valid against the given form.
Prerequisite:
textFieldTypeMeta.processor
to format the field before calling the validatorRequirements:
textFieldTypeMeta.parser
maxSelections
andminSelections
selectionDeselectsSiblings
is true, there is only one selectionselectionDisablesChildren
is true, set flag to bypasschildren
validation of that itemtextResponse
validation of that itemGeneral guideline for error type: