bool SetAnswerChoice(Int32 inQuesIdx, Int32 inTopic, DVar inValues)
Description
It will set the relevant answers in the specific topic with the corresponding values in inValues
Parameters
The following is a list of parameters the functions receives
Parameter | Type | Description |
---|---|---|
inQuesIdx | Int32 | Target Question Index |
inTopic | Int32 | Topic Index to set |
inValues | DVar[] | Values to set |
Return Type
bool
Examples
SetAnswerChoice(QRef(1),3,4,5,6) - the following code will set the answers 4,5 and 6 in the 3rd topic as selected
Comments
Hi i have a multiple selection grid question
Topic is
TOM
Others
Answer is
Family
Friends
Co worker
SOcial Media
School
i want to limit the answer in topic 1 as 1 answer only and not select the answer on the topic 1 to topic 2
Please sign in to leave a comment.