Add a Custom Variable in Your Survey - Zoho Survey | Online Help Guide

Custom V​ariables

Zoho Survey offers the following advanced features that take your surveying experience to a new level.
  1. Custom Variables
  2. Scoring
  3. Invite Reviewer
  4. Share Survey
  5. Send Copy
  6. Transfer Survey
  7. Export as PDF
  8. Print 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:

  1. Click Advanced Options on the upper-right side of the survey builder.
  2. Click Custom Variables.
  3. 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. Read on dynamic parameters here.
  4. Enter a description for the custom variable in the Label box.
  5. Select the type of variable you'd like to use from the Type dropdown list:
    1. Text
    2. Email
    3. Number
    4. Choice: In the Options box, type in the choices (one per line). At least two options are required to save the variable.
  6. Click Save Variable.

To test the custom variable:

  1. Copy the survey link from the Launch tab.
  2. Paste the URL in a new tab.
  3. 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 the user's responses. Any number of custom variables can be added to a survey URL by separating the variables by an ampersand (&). For example, https://surveylink?var1=[value]&var2=[value2]&var3=[value3].

To edit an existing custom variable: 

  1. Click Advanced Options on the upper-right side of the survey builder. 
  2. Click Custom Variable
  3. Hover over the custom variable you want to edit and click Create online surveys
  4. Edit the URL Parameter and Reports' Label boxes as needed. 
  5. Click Save Variable.

To delete a custom variable:

  1. Click Advanced Options on the upper-right side of the survey builder. 
  2. Click Custom Variable
  3. Hover over the custom variable you want to delete and click Create online surveys

Custom Variable in Piping

You can 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 piping:

  1. Create a custom variable, such as a name.
  2. Add the variable name in the text of your question. Read more on piping.
  3. Copy the survey URL in the Launch tab.
  4. Paste the URL into a new tab.
  5. Add '?name=<name of the respondent' to the URL. The question will automatically have the respondent's name filled in.

Merge Tags

You can merge tags from other applications so that they appear in your survey reports by using our integrations with Zoho CRMZoho Campaigns, or MailChimp. While distributing the survey with any campaign tool, custom variables can be defined as merge tags corresponding to the campaign tool. For example, https://surveylink?var=$[merge-tag]. Learn more about adding merge tags to your URL here. When respondents submit the survey, you will find custom variables and extended custom variables in your survey reports. Using multiple custom variables helps reduce the number of questions in your survey, making it look neat, while still gathering the information you need.

Custom Variable Logic

You can add a custom variable logic in a similar way you would add a display logic for questions. Read on custom variable logic here.

Custom Variable in Trigger Emails

Read more on sending personalised email triggers using custom variables here.


        Create. Review. Publish.

        Write, edit, collaborate on, and publish documents to different content management platforms.

        Get Started Now


          Access your files securely from anywhere

            Zoho CRM Training Programs

            Learn how to use the best tools for sales force automation and better customer engagement from Zoho's implementation specialists.

            Zoho CRM Training
              Redefine the way you work
              with Zoho Workplace

                Zoho DataPrep Personalized Demo

                If you'd like a personalized walk-through of our data preparation tool, please request a demo and we'll be happy to show you how to get the best out of Zoho DataPrep.

                Zoho CRM Training

                  Create, share, and deliver

                  beautiful slides from anywhere.

                  Get Started Now


                    Zoho Sign now offers specialized one-on-one training for both administrators and developers.

                    BOOK A SESSION







                                Quick LinksWorkflow AutomationData Collection
                                Web FormsEnterpriseOnline Data Collection Tool
                                Embeddable FormsBankingBegin Data Collection
                                Interactive FormsWorkplaceData Collection App
                                CRM FormsCustomer ServiceAccessible Forms
                                Digital FormsMarketingForms for Small Business
                                HTML FormsEducationForms for Enterprise
                                Contact FormsE-commerceForms for any business
                                Lead Generation FormsHealthcareForms for Startups
                                Wordpress FormsCustomer onboardingForms for Small Business
                                No Code FormsConstructionRSVP tool for holidays
                                Free FormsTravelFeatures for Order Forms
                                Prefill FormsNon-Profit

                                Intake FormsLegal
                                Mobile App
                                Form DesignerHR
                                Mobile Forms
                                Card FormsFoodOffline Forms
                                Assign FormsPhotographyMobile Forms Features
                                Translate FormsReal EstateKiosk in Mobile Forms
                                Electronic Forms
                                Drag & drop form builder

                                Notification Emails for FormsAlternativesSecurity & Compliance
                                Holiday FormsGoogle Forms alternative GDPR
                                Form to PDFJotform alternativeHIPAA Forms
                                Email FormsFormstack alternativeEncrypted Forms

                                Wufoo alternativeSecure Forms

                                TypeformWCAG


                                    All-in-one knowledge management and training platform for your employees and customers.

                                              Create. Review. Publish.

                                              Write, edit, collaborate on, and publish documents to different content management platforms.

                                              Get Started Now





                                                                You are currently viewing the help pages of Qntrl’s earlier version. Click here to view our latest version—Qntrl 3.0's help articles.




                                                                    Manage your brands on social media


                                                                      • Desk Community Learning Series


                                                                      • Digest


                                                                      • Functions


                                                                      • Meetups


                                                                      • Kbase


                                                                      • Resources


                                                                      • Glossary


                                                                      • Desk Marketplace


                                                                      • MVP Corner


                                                                      • Word of the Day


                                                                      • Ask the Experts


                                                                        Zoho Sheet Resources

                                                                         

                                                                            Zoho Forms Resources


                                                                              Secure your business
                                                                              communication with Zoho Mail


                                                                              Mail on the move with
                                                                              Zoho Mail mobile application

                                                                                Stay on top of your schedule
                                                                                at all times


                                                                                Carry your calendar with you
                                                                                Anytime, anywhere




                                                                                      Zoho Sign Resources

                                                                                        Sign, Paperless!

                                                                                        Sign and send business documents on the go!

                                                                                        Get Started Now




                                                                                                Zoho TeamInbox Resources





                                                                                                          Zoho DataPrep Demo

                                                                                                          Get a personalized demo or POC

                                                                                                          REGISTER NOW


                                                                                                            Design. Discuss. Deliver.

                                                                                                            Create visually engaging stories with Zoho Show.

                                                                                                            Get Started Now








                                                                                                                                • Related Articles

                                                                                                                                • Custom Script using JavaScript

                                                                                                                                  JavaScript is a powerful and widely-adopted programming language that excels in client-side scripting within web browsers. It allows developers to create dynamic and interactive web applications. In Zoho Survey, you can leverage JavaScript for ...
                                                                                                                                • Custom Script using Deluge

                                                                                                                                  Deluge is a scripting language specifically designed for the Zoho ecosystem. It stands for Data Enriched Language for the Universal Grid Environment and is tailored to help users automate tasks and customize applications across Zoho's suite of ...
                                                                                                                                • Create Custom URLs for Your Survey

                                                                                                                                  Overview Personalize your survey sharing experience by creating custom URLs with Zoho Survey. Swap out the default survey link for a branded subdomain like survey.yourcompany.com, giving your surveys a polished, professional look that strengthens ...
                                                                                                                                • Create Custom Variables for URL Parameters

                                                                                                                                  Overview Define custom variables to capture and store URL parameter values passed into your survey. Use these when the parameter you need is not available in the default dropdown list. Custom variables can store text, email, number, date, or choice ...
                                                                                                                                • Create Custom Variables for URL Parameters

                                                                                                                                  Overview Define custom variables to capture and store URL parameter values passed into your survey. Use these when the parameter you need is not available in the default dropdown list. Custom variables can store text, email, number, date, or choice ...
                                                                                                                                  Wherever you are is as good as
                                                                                                                                  your workplace

                                                                                                                                    Resources

                                                                                                                                    Videos

                                                                                                                                    Watch comprehensive videos on features and other important topics that will help you master Zoho CRM.



                                                                                                                                    eBooks

                                                                                                                                    Download free eBooks and access a range of topics to get deeper insight on successfully using Zoho CRM.



                                                                                                                                    Webinars

                                                                                                                                    Sign up for our webinars and learn the Zoho CRM basics, from customization to sales force automation and more.



                                                                                                                                    CRM Tips

                                                                                                                                    Make the most of Zoho CRM with these useful tips.



                                                                                                                                      Zoho Show Resources