mi_variables

On a page, there are some system variables stored. These can be useful in several circumstances.

The most useful ones are:

Variable Explanation
mi_currentlang The current language, typically "en", "dk", "fr" etc
mi_rspid The respondent id (GUID)
mi_blid BaselineId identifying the current questionnaire
mi_altid The altid used in the link (if provided)
mi_sysrnd The sys_random variable for this interview. A number between 0 and 1000
mi_direction Have the value of "1" if we arrived at the page by "Next" button, and "-1" if "Previous" button was pressed