Scripts for Affecting Survey Questions

Important Update to Custom Scripting

SurveyGizmo's CustomScript Action now supports the LUA programming language. Visit our NEW Lua Scripting Resources!

Legacy Custom Scripting Language Deprecation Plans 

  1. New accounts (created after October 29, 2018) will only have the option to use Lua in scripts.
  2. As of October 29, 2018 Custom Scripting Actions will default to Lua as the scripting type in the Custom Scripting Action for accounts created before this date. You will be able to switch to the Legacy Custom Scripting; though we highly encourage using Lua.
  3. In the long term, Legacy Custom Scripting Actions will be switched to read-only. The exact date on this is to be determined; we will send notifications well ahead of time.


Age Verification by Birth Date
This script will perform age verification based on the date of birth entered in an open text field. The qualifying age can be set in the script (18 years old, 21 years old, etc.) and if the user is not old enough, they will be disqualified. If they ...
Show Pages Based off a Drag & Drop Ranking
In this tutorial we will go over an example script for conditionally showing pages based on the option that is rated highest and/or lowest in a Drag & Drop Ranking question. These steps assume a basic familiarity with SurveyGizmo and programming. C...
Script to Display Follow Up Items for Highest Ranked Max Diff Attributes
In this example we cover a script to conditionally show text elements based on the attributes that are rated highest in a Max Diff question. We'll be using the following SurveyGizmo features in this example: Max Diff  Question ...
Setting Continuous Sum Max Total Value Dynamically
The Continuous Sum question is a very popular question, particularly with our market research users. Often survey designers are looking to make sure that the continuous sum total matches another value that the respondent entered. In this tutorial, w...
Using Continuous Sum Total in a Merge Code
There isn't a built in way to use the total of the Continuous Sum question in another question. Fret not! There's a custom script for that! In this tutorial we'll show you how to use a custom script to populate a hidden value so that you can use the...
Use Signature Question Later in Survey
This script will allow you to use a signature question's input later in a survey. Check it out in an example survey ! OR Add a survey with this setup to your account! Setup First set up your signature question. On a following page that you w...