Custom Variables are special variables used to store additional information that is to be passed to the Survey. Custom Variables, when passed to the survey, are stored with the respondent's response. You can view the custom variables online using the response viewer. Custom variables are also available in the Excel and CSV raw data downloads. You can also analyze your data based on custom variables.
In QuestionPro, you can use 255 custom variables. Custom variables are referred throughout the system by their index value as:To add variable mapping, go to: Login » Surveys » Edit » Variables
Click on + Add Mapping in Bulk
You can use either of the 3 options:
System/custom variables can be used anywhere on the survey. For example, custom 1 is mapped to display name: Designation and code: desg. Custom 2 is mapped to display name: Department and code: dept
To replace variables in your survey, you can use the following format: ${Code}.Custom 1 can be referred to as or replaced with: ${custom1} or ${desg}.
Custom 2 can be referred to as or replaced with: ${custom2} or ${dept}.
Example:
The values of the custom variables can be passed into a survey by appending custom variables values in the survey link.
To append custom variable to a survey link:
Example: https://www.questionpro.com/t/AMBJzZbDfd?id=43&dpt=Sales
Example: https://www.questionpro.com/t/AMBJzZbDfd?id=43&dpt=Sales&EmpID=12345
You can also view these values in the Response viewer and in the downloaded report.
Certain variable codes are restricted because the system already uses them internally to manage its logic and core functions. Using these codes for variable mapping (for external or user-defined variables) would cause conflicts and could lead to system instability or incorrect behavior.
Reserved variable codesThis feature is available with the following licenses :