OnBeforeQuestionValidation event
The OnBeforeQuestionValidation event runs after a question has been asked and answered but before the standard validation begins. To define actions to be carried out before a question’s response is validated, place the following statements in the routing section of the script:
Sub OnBeforeQuestionValidation(Question, IOM)
Qname statements
End Sub
where:
▪Question represents the current question.
▪statements are interview scripting or mrScriptBasic statements that define the actions to be carried out.
▪IOM is the interview object. This gives the event access to all the properties and objects related to the interview.
Refer to
Paradata example script for an example of using
OnBeforeQuestionValidation to prepare a record that can be written to the paradata database for the current question.
See also