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

QuestionnaireAnswerSheetExists: Difference between revisions

From Catglobe Wiki
Cg_pham (talk | contribs)
No edit summary
No edit summary
 
(3 intermediate revisions by 3 users not shown)
Line 1: Line 1:
[[Category:Questionnaire_Functions]]
[[Category:Questionnaire_Functions]]

[OBSOLETE - please use [[QAS_exists|QAS_exists]]. More detail at [[ConversionMethods|ConversionMethods]]]


====questionnaireAnswerSheetExists====
====questionnaireAnswerSheetExists====
Line 16: Line 16:
'''Arguments'''
'''Arguments'''


''pqId: Is the uniqueId for the questionnaire which is being checked if the user has an answer sheet.''
''pqId: number. Is the project questionnaire id which is being checked if the user has an answer sheet.''


''userId: Is the user which is being checked in regards to finding whether he has an answer sheet for the questionnaire.''
''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'''
'''Return type'''
Line 27: Line 27:


bool b = questionnaireAnswerSheetExists(1234,345678);
bool b = questionnaireAnswerSheetExists(1234,345678);
print(b);


'''Availability'''
'''Availability'''

Latest revision as of 02:23, 13 May 2022

[OBSOLETE - please use QAS_exists. More detail at ConversionMethods]

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