Difference between revisions of "QAS exists"
(Created page with "Category:Questionnaire_Functions {{HelpFiles}} ==== QAS_exists==== Checks if answer sheet exists by its user resource id and questionnaire resource id. '''Syntax''' QA...") |
|||
Line 1: | Line 1: | ||
− | |||
{{HelpFiles}} | {{HelpFiles}} | ||
− | ==== QAS_exists==== | + | ==== QAS_exists ==== |
Checks if answer sheet exists by its user resource id and questionnaire resource id. | Checks if answer sheet exists by its user resource id and questionnaire resource id. | ||
Line 22: | Line 21: | ||
'''Examples''' | '''Examples''' | ||
+ | <source lang="javascript"> | ||
number qRsId=15532172; | number qRsId=15532172; | ||
− | number uRsId=15498958; | + | number uRsId=15498958; |
bool a = QAS_exists(qRsId,uRsId); | bool a = QAS_exists(qRsId,uRsId); | ||
print(a); | print(a); | ||
+ | </source> |
Revision as of 08:15, 26 October 2016
QAS_exists
Checks if answer sheet exists by its user resource id and questionnaire resource id.
Syntax
QAS_exists(pqRsId, userRsId)
Arguments
pqRsId: number. Is the project questionnaire resource id which is being checked if the user has answer sheet.
userRsId: number. Is the user resource id which is being checked in regards to finding whether he has answer sheet for the questionnaire.
Return type
bool
Examples
number qRsId=15532172;
number uRsId=15498958;
bool a = QAS_exists(qRsId,uRsId);
print(a);