|
Quota Control Functions
|
|
|
SSI Script:
|
Description:
|
|
Value(QuestionName)
|
Returns the quota cell value to which the respondent has been assigned for the quota question referred to by QuestionName; returns 0 if unassigned.
|
|
QuotaCellName(QuestionName)
|
Returns the quota cell name to which the respondent has been assigned; returns empty string (nothing) if unassigned
|
|
IsQuotaCellOpen
(QuestionName, QUOTA_CELL_NAME) IsQuotaCellOpen (QuestionName, QUOTA_CELL_VALUE) |
Returns true (1) if the cell is open, false (0) if the cell is closed
|
|
QuotaCellRemaining
(QuestionName, QUOTA_CELL_NAME) QuotaCellRemaining (QuestionName, QUOTA_CELL_VALUE) |
Returns the number of completes left to fill the quota cell. Returns 0 if quota cell is full.
|
|
QuotaCellLimit
(QuestionName, QUOTA_CELL_NAME) QuotaCellLimit (QuestionName, QUOTA_CELL_VALUE) |
Returns the quota cell limit
|
|
QuotaCellCompletes
(QuestionName, QUOTA_CELL_NAME) QuotaCellCompletes (QuestionName, QUOTA_CELL_VALUE) |
Returns number of completes in the quota cell
|
|
AreAllQuotasClosed()
|
Returns true if all cells have been closed for all quotas. This might be useful if you don't want to show a "survey closed" message but would like to skip the respondent to a different survey.
|
|
AreAllQuotaCellsClosed
(QuestionName) |
Returns true if all cells have been closed for the specified quota.
|
|
AreAnyQuotasClosed()
|
Returns true if all cells have been closed in any quota.
|