OnMultiTopicDynamicContentRefresh()

void OnMultiTopicDynamicContentRefresh(inQuesIndex, ioTopicValues)

Description

This callback function is called for Question types Numeric Grids and Open Ended grid and will set dynamically the values to the topics in the question according to the logic implemented

Parameters

The following is a list of parameters the functions receives 

Parameter Type Description
inQuesIndex Int32 the question index
ioTopicValues   The topic value to check or set

 

Return Type

void

 

Example

This sample will set dynamically the values of the topics in place 0 & 1 to the topic placed 2 (Topic 1 & 2 will be set to Topic 3)

function OnMultiTopicDynamicContentRefresh(inQuesIndex, ioTopicValues){
       ioTopicValues[2] = ioTopicValues[0] + ioTopicValues[1];

return true;
}

Was this article helpful?
0 out of 0 found this helpful
Have more questions? Submit a request

Comments

0 comments

Please sign in to leave a comment.