OnUploadOfStoppedInterview()

eUploadOfStoppedInterviewStatus OnUploadOfStoppedInterview()

Description

This called when the option to upload a stopped interview is enabled and you would like to set a condition that when true it will upload the stopped interview.

Parameters

there are no specific parameters.

Return Type

eUploadOfStoppedInterviewStatus

Example

function OnUploadOfStoppedInterview(){
var retVal = eUploadOfStoppedInterviewStatus.Stopped;
if (Answer(QRef(X))==2) //when a condition will be true 
{
retVal = eUploadOfStoppedInterviewStatus.StoppedWithUpload;
}
return retVal;
}

 

The available return values are:

eUploadOfStoppedInterviewStatus.Stopped - Will simply stop the interview without uploading.

eUploadOfStoppedInterviewStatus.StoppedWithUploade - Will stop and upload the interview

UploadOfStoppedInterviewStatus.Completed - Will behave as Submit (so complete the interview)

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.