GetUserProjectQuestionnaireStatus

From Catglobe Wiki
Revision as of 05:12, 2 June 2017 by Hovietluu (talk | contribs) (Created page with "Category:Questionnaire_Functions ====getUserProjectQuestionnaireStatus==== Returns the status of the current questionnaire answer sheet '''Syntax''' getUserProjectQue...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

getUserProjectQuestionnaireStatus

Returns the status of the current questionnaire answer sheet

Syntax

getUserProjectQuestionnaireStatus()

Arguments

none

Return type

number: Is a numeric constant. There are five built-in constants for questionnaire answer sheet status:

  • RPQ_Status_Normal = 1,
  • RPQ_Status_QuotaFull = 2,
  • RPQ_Status_OutsideTarget = 3,
  • RPQ_Status_InterviewFailed = 4,
  • RPQ_Status_InterviewSucceeded = 5

Example

number status = getUserProjectQuestionnaireStatus();

if(status == RPQ_Status_Normal)

print("Normal");

Availability

Version 5.0