How do I add a custom variable in my survey?
Using custom variables allows you to include information about a respondent in the survey without making the respondent answer those questions. In other words, it helps avoid asking for information that you already know. For example, imagine that there's a question in the survey that asks for the respondent's email. If you remove the
email question from the survey but still need the respondent's email address, you can add a custom variable, and the email address will also show up in the survey reports. By extension, if you already know your respondents you can use custom variables and
piping to auto-fill questions on your survey.
To add a custom variable in your survey:
- Click Advanced Options on the upper-right side of the survey builder.
- Click Custom Variables.
- Complete the URL Parameter box. Make sure you remember what you write in this field, because you'll need to use exactly the same variable name in the URL when sending out your survey.
- Enter a description for the custom variable in the Label box.
- Select the type of variable you'd like to use from the Type dropdown list:
- Text
- Email
- Number
- Choice: In the Options box, type in the choices (one per line). At least two options are required to save the variable.
- Click Save Variable.
Related Articles
How do I add a custom variable with piping?
You can also use these custom variables while piping. If you already know the respondent of your survey, for example, you can personalize your survey by removing the Name question, and creating a custom variable instead. To add a custom variable with ...
How do I test a custom variable?
To test the custom variable: Copy the survey link from the Launch tab. Paste the URL in a new tab. Add ?email=<email address of the respondent or any other variable> to the URL. The survey will open and this email address will be recorded along with ...
How do I delete a custom variable?
To delete a custom variable: Click Advanced Options on the upper-right side of the survey builder. Click Custom Variable. Hover over the custom variable you want to delete and click .
How do I delete a custom variable?
You can use the Move to Trash option to delete unused custom variables as well. Unlike the Delete option, the Trash feature in Zoho Survey allows you to either restore items or permanently remove them from the builder. To delete a custom variable: ...
Custom Variables
Custom Variables Using custom variables allows you to include information about a respondent in the survey without making the respondent answer those questions. In other words, it helps avoid asking for information that you already know. For example, ...