DatStat Illume 4.5 SDK Class Reference

HookContext.GetCheckboxLabel Method 

Returns the label for an individual checkbox item in a check-all question.

public string GetCheckboxLabel(
   String variableName
);

Parameters

variableName
The friendly name of an individual checkbox survey variable.

Return Value

The label for an individual checkbox variable.

Remarks

DatStat Illume check-all (i.e. check-all-that-apply) questions are unique in that each individual checkbox also becomes an accessible variable in the survey data-dictionary. This method will return the label associated with an individual checkbox variable. This is akin to getting the response label for a select-one question, however getting the response label for an individual checkbox variable will return true or false.

If the given variable is not an individual checkbox, this method will return and empty string.

See Also

HookContext Class | DatStat.Collector Namespace