eQuotaFilledResult OnQuotaFilled(inQuotaName, inBucketID, inActionType, inExceedType, inQuestionUserIndex)
Description
This callback function is called when a quota is filled for a survey and using this callback you can change the default exceed action set.
Parameters
The following is a list of parameters the functions receives
Parameter | Type | Description |
---|---|---|
inQuotaName | string | The quota name to check |
inBucketID | Int | The bucket ID |
inActionType | The action type | |
inExceedType | The exceed Type | |
inQuestionUserIndex | Int | The question index |
Return Type
eQuotaFilledResult
Example
The example below will prompt the quota name and the question index it is related
function OnQuotaFilled(inQuotaName, inBucketID, inActionType, inExceedType, inQuestionUserIndex)
{
Prompt(inQuotaName);
Prompt(inQuestionUserIndex);
return eQuotaFilledResult.XXX choose one of these Default, Filter, Cancel, Nothing
}
Comments
Please sign in to leave a comment.