Questionnaire setCompleted

From Catglobe Wiki
Jump to: navigation, search



Questionnaire_setCompleted

To set completed a questionnaire which has not been completed yet.

Syntax

empty Questionnaire_setCompleted(number questionnaireResourceId, bool completed, string content[, number userResourceId])

Arguments

questionnaireResourceId : the questionnaire resource Id.

completed : status is set to questionnaire.

content : description/ comment is input when user sets completed a questionnaire.

userResourceId : the user resource id of user who completes questionnaire

Return type

None

Example

Questionnaire_setCompleted(34806989, true, "set completed this questionnaire", 34775429);

Availability

Version 5.8