Do a final round of validation and get the validated answers.
This method will not update render instructions. It is more for when you need to make sure that the form is really clean and get the final validated answers for further usage, e.g. calling API, store into database, etc.
validated answer or false if form is not clean
Clear answers of the entire form.
Optionaloptions: UpdateAnswerOptionsoptions
Clear answer of a question.
question id
Optionaloptions: UpdateAnswerOptionsoptions
Clear answers of the entire group.
group id
Optionaloptions: UpdateAnswerOptionsoptions
Get sanitized configs of this form.
You can persist it and use it to reconstruct the form later.
configs
Get a set of instructions to be used for rendering frontend UI.
render instructions
Import answers to the form.
answers
Optionaloptions: UpdateAnswerOptionsoptions
Reset answers of the entire form to default answers.
Optionaloptions: UpdateAnswerOptionsoptions
Reset answer of a question to default answer.
question id
Optionaloptions: UpdateAnswerOptionsoptions
Reset answers of the entire group to default answers.
group id
Optionaloptions: UpdateAnswerOptionsoptions
Select invididual choice.
This method can be used by questions with choice or choices as [[type]] only.
choice id
selected/unselected
Optionaloptions: UpdateAnswerOptionsoptions
Set answer of a question.
question id
answer
Optionaloptions: UpdateAnswerOptionsoptions
Set answer of a question with any as [[type]].
question id
answer
Optionaloptions: UpdateAnswerOptionsoptions
Set answer of a question with choice as [[type]].
question id
choice's value
Optionaloptions: UpdateAnswerOptionsoptions
Set answers of a question with choices as [[type]].
question id
choices' values
Optionaloptions: UpdateAnswerOptionsoptions
OptionalonFormUpdate: FormUpdateListenerStaticvalidateValidate configs.
The following validations will be conducted:
choice or choices as type without choicesonSelected configsPut strict as true to validate the following:
onSelected configsconfigs
strict
validation result
Construct a form.