Quota targetReached
Quota_targetReached
To check whether one quota of a questionnaire reaches its target..
Syntax
bool Quota_targetReached(string quotaName[, number PQResourceId])
Arguments
- quotaName : the name of quota.
- PQResourceId : Resource id of questionnaire to which quota belongs.If it is empty, the project questionnaire context is required
Return type
bool
Example
bool a= Quota_targetReached("male",34806989);
Availability
Version 5.8