Difference between revisions of "QuestionnaireAnswerSheetExists"
Cg huyphong (talk | contribs) |
|||
Line 1: | Line 1: | ||
[[Category:Questionnaire_Functions]] | [[Category:Questionnaire_Functions]] | ||
− | + | [OBSOLETE - please use [[QAS_exists|QAS_exists]]] | |
====questionnaireAnswerSheetExists==== | ====questionnaireAnswerSheetExists==== |
Revision as of 10:35, 12 May 2022
[OBSOLETE - please use QAS_exists]
questionnaireAnswerSheetExists
Checks if a answer sheet exists by its user id and questionnaire id.
Syntax
questionnaireAnswerSheetExists (pqId, userId)
or when we know the user context:
questionnaireAnswerSheetExists (pqId)
Arguments
pqId: number. Is the project questionnaire id which is being checked if the user has an answer sheet.
userId: number. Is the user id which is being checked in regards to finding whether he has an answer sheet for the questionnaire.
Return type
bool
Examples
bool b = questionnaireAnswerSheetExists(1234,345678);
print(b);
Availability
Version 5.5