Help
CQ.setAnswer
Sets the answer for a question. Custom questions must call CQ.setAnswer in active mode to set the student answer.
Syntax
CQ.setAnswer(String id, String answer) : void
Parameters
Returns
void
See Also
CQ.onBeforeSave Custom Questions Javascript API