OnQuestionsQCCalculated()

void OnQuestionsQCCalculated(IQCQuestionsCounts inCounts);

Description

This callback will be called when a Quality Control flag is set in order to display as a variable (the actual % per interview). using this callback you can set custom fields to set it in the script. 

Parameters

The following is a list of parameters the functions receives 

Parameter Type Description
inCounts IQCQuestionsCounts the count of the Quality Control flag you would like to set/call


Return Type

void

Example

function OnQuestionsQCCalculated(inCounts)
{
  SetInterviewExtraField(eInterviewExtraField.CustomDataInt1,
    inCounts.PercentageOfQuestionsAnsweredInLessThanXSecond);
  SetInterviewExtraField(eInterviewExtraField.CustomDataInt2,
    inCounts.PercentageOfQuestionsWithRelevantAnswer);
  SetInterviewExtraField(eInterviewExtraField.CustomDataInt3,
    inCounts.NumberOfQuestionsTakingTooLong);
  SetInterviewExtraField(eInterviewExtraField.CustomDataInt4,
   inCounts.NumberOfOpenEndedQuestionsWithShortAnswer);
  SetInterviewExtraField(eInterviewExtraField.CustomDataInt5,   
   inCounts.NumberOfQuestionsContainingStraightLining);
}
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.