bool SetAnswer(Int32 inQuesIdx, Dvar[] inValues)
Description
Relevant for all question types. Sets the value of an answer/answers in question inQuesIdx with inValues.
Parameters
The following is a list of parameters the functions receives
Parameter | Type | Description |
---|---|---|
inQuesIdx | Int32 | Target Question Index |
inValues | DVar[] | The values to set |
Return Type
bool
Examples
- If question 5 is a Single Choice question SetAnswer(QRef(5),2) will set the second value as the answer
Comments
I'm have a question I want to ask.
I created 2 MA questions : Q1 and Q2. answers of Q2 is included of Q1's answers. So, I write script to check:
!ContainsOneOf(CurrQues,GetAnswers(QRef(1))).
However, It was not worked. Is script true?
Thank you!
Please sign in to leave a comment.