QuestionnaireAnswerSheetExists

From Catglobe Wiki
Revision as of 11:10, 7 March 2011 by 127.0.0.1 (talk | contribs) (jrfconvert import)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search



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: Is the uniqueId for the questionnaire 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.

Return type

bool

Examples

bool b = questionnaireAnswerSheetExists(1234,345678);

Availability

Version 5.5