Toggle menu
876
3.8K
30.2K
279.1K
Catglobe Wiki
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

QAS exists: Difference between revisions

From Catglobe Wiki
No edit summary
Tungocman (talk | contribs)
No edit summary
 
Line 27: Line 27:
print(a);
print(a);
</source>
</source>
[[Category:Questionnaire_Functions]]

Latest revision as of 08:09, 5 June 2017


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);