Build Workarounds

We're constantly creating content based on your questions. Check out these survey build workarounds if you are looking to makes tweaks to your survey that are not available using our survey builder.

Articles

Show or Hide Paragraphs of Text
If your survey has long descriptive text elements with many paragraphs of information, you can use this piece of JavaScript to create a link to show more or less of the text. This can help make your survey look less fatiguing and hopefully drive up ...
Using Continuous Sum Total Later in Survey
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...
Add N/A Option to Multi Image Select Question
The image selection question does not allow you to have an N/A Exclusive option. This tutorial will walk you through adding an exclusive option where no other images can be selected if the N/A option is selected.  Check it out in a survey here...
Maintaining Randomization Order Across Questions
In this tutorial we'll show you how to use a script to maintain randomization order for images in Image Choice questions. We'll cover how to do so with image questions on the same page and image questions on separate pages. This script als...
URL Redirect: Breaking Out of an iFrame
Are you using an iframe embed to share a survey on your website? Are you also wanting to redirect respondents to another website once they have completed your survey? If so, this tip is for you! How does the URL Redirect work now? URL redirect in ...
Disable the Enter Key in Your Survey
When you have survey pages with open text fields, it's possible for a survey respondent to submit the page by accidentally pressing the Enter key before completing their response. With this bit of code, you can ensure that won't happen! Pla...
Hide Other Textbox Until Other Option is Clicked
In this tutorial we'll cover how to display an Other Textbox in a Radio Button or Checkbox question only after the associated answer option has been clicked.
Target a Specific Page with the Back Button
Though this is not a built-in feature, we do have a script for that! In our survey below if you hit the back button you will be sent to the Thank You Page.
Show a Number of Randomly Selected Pages from a Survey
As part of our core randomization options, you have the ability to display x number of random questions on the page. Unfortunately, there is not a built-in way to do the same with pages in a survey. Never fear!  Fortunately, it's pretty eas...
Deselect a Radio Button
Once an answer option has been selected in a radio button question browsers do not allow for the option to be deslected. That could be troublesome if it was an accidental click with no Other or N/A options, so here is a quick bit of JavaScript that ...
Use a Radio Button Grid to Combine Rating Statements
You may be familiar with the Rating (Likert Scale) Question Type which allows your survey respondents to rate a statement according to a scale (often ranging from disagree to agree). The Likert Scale question is a great option for rating a single...
Calculate Age From Birthday
This JavaScript will calculate age from the date of birth entered in an open-text field.  Check it out in an example survey . OR Add a survey with this setup to your account! This script uses the following question types or actions: ...
Make an Image Appear for a Specified Amount of Time
We do not have a built-in feature for making an image disappear after a certain amount of time. This JavaScript will allow you to only show an image for a certain amount of time.  Check it out in an example survey ! OR Add a survey with t...
Disable Radio Button Question Once Option is Selected
This JavaScript will allow you to disable a question once an answer is selected. This comes in handy if you would like to prevent your users from changing their answers.
Making a Read Only Field
Many users like to use our default answer feature to pre-populate their survey. Often they wish to make this field appear as read-only so that the respondent cannot change the answer.
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 y...
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...
Change Survey Header Image via a URL Variable
This JavaScript will allow you to change your survey's header image via a URL Variable*. This can come in handy if you'd like to show different target audiences different images. In this example, we changed the header to be a different color...
Prevent Respondents from Selecting Text
In some circumstances users do not want their respondents to be able to select text. This tutorial provides some JavaScript to help prevent that.  Check it out in an example survey ! OR Add a survey with the setup to your account! Setup ...
Drag & Drop and Ranking Grid: Report on Rank Not Row Headers
Both our Drag & Drop Ranking question and our Ranking Grid will report and export on the row headers for each question. The data will consist of aggregated data for each row header and will report an
Record Page Title of Randomized Pages
Randomization is a very popular survey tool for eliminating bias introduced by order and/or survey fatigue. Within SurveyGizmo you can randomize questions, pages (or pages in groups) or even answer options! We have a merge code [page("pagepath...
Using Merge Codes in Javascript
You can use SurveyGizmo merge codes in JavaScript actions in your survey. Our servers will replace the merge code with the corresponding value when the page is rendered. When the JavaScript code executes on the client side, the merge code will have ...
Radio Button Grid: Allow One Answer Per Column
While we have a Ranking Grid question that automatically validates for a single answer per column there are some scenarios where you might wish to apply this type of validation to a Radio Button Grid question. For example, in a Ranking Grid que...
Add Two Continuous Sums into a Third
While there is no built-in functionality to populate a continuous sum question with previous continuous sum questions we have a script to accomplish this! This can come in handy if you have different totals that you want to add to make one overall t...
Radio Button Grid: Only Allow One Selection
Radio Button Grid questions allow a single selection per row. Some customers have requested the ability to allow only a single selection for the entire grid. While we don't have a built-in way to achieve this, you can set this up pretty easily...
Record Time Spent On Page or Survey In Milliseconds
We have a a built-in feature for recording time spent on page in seconds within a Hidden Value. If you wish to be more precise by recording the time spent in milliseconds you can do so with a little bit of JavaScript and Custom Scripting. Add a ...
Swap Columns And Rows Of A Grid Question (Vertical Single Choice)
If you want to display single choice in a Radio Button Grid vertically this JavaScript will do just this but record the data in the same format by row. Check it out in an example survey ! OR Add this survey to your account. Paste the below Ja...
Radio Button/Checkbox Grid: Make Other Row Fill-ins Required
Other Textboxes within grid questions do not force a response within the answer box in the row. This JavaScript will disable and uncheck the other row's answer options unless text has been input in the Other Textbox. Check it out in an example...
Sort Your Answer Options Alphabetically
If you have a need to alphabetize your answer options, say, for instance, you have a list of states or countries we have a handy feature that allows you to set your answer options to alphabetize . This works to alphabetize answer options in Radio B...
Show a Random Set of Text/Instruction Fields
You may have noticed that when setting up your survey page to randomly show a set of questions , text/instruction fields are not included! But of course, there's always a way to hack it with some JavaScript, so here we go! Check it out in an ...
Sum / Add Values in a Survey
Looking to add values collected earlier in a survey? Strictly speaking, performing mathematic functions in a survey requires custom scripting ; however, if you have a few values that you wish to add, you can leverage our Continuous Sum question t...
Store Past or Future Date and Time
Want to use a future or past date dynamically in a survey? This script adds or subtracts time to/from the current date.  Check it out in an example survey OR Add a survey with this setup to your account! This script uses the following ...
Add a Print Option for Survey Respondents
In this tutorial, we'll cover a workaround that uses the Review Response action in combination with some simple HTML and JavaScript code to add a link for respondents to print from the survey itself.
Limit Characters Entered in Other Textbox
Looking to limit the number of characters that can be entered in an Other Textbox ? While we don't have this feature built in, it's something that can be accomplished with a little bit of custom JavaScript. Check it out in an example surv...
Cascading Dropdown: Select Option When Only One is Present
If you are using the Cascading Dropdown question and one of your menus has only one option you might want to have the survey automatically select it for your respondents. While there isn't a built-in way to achieve this; we have a super-simple...
Display the Comment Field Above the Question
By default Comment Fields will display below the question they are added to. This script will display a comment field above a question. Check it out this script in an example survey ! OR Add a survey with this script to your account. Setup ...
Show a Number of Randomly Selected Rows from a Grid
As part of our core randomization options you have the ability to randomize or shuffle column and row order in a grid question. However, there is not a built-in feature to show a random subset of the rows in your grid question. Fortunately, it's...
Setting Continuous Sum Max Total Value Dynamically
Often survey designers are looking to make sure that the continuous sum total matches another value that the respondent entered.
Store Continuous Sum Responses In Hidden Values to Use in Logic Conditions
Using Hidden Values you can store the values entered in your continuous sum question and then use these fields to base your logic off of.
Performing Basic Math Using Scripting: Add, Subtract, Multiply, and Divide
Do you need to perform basic math within a response? You can do so using our custom scripting. Because our scripting language is based on Lua any of the operators that are available in Lua are available in our scripting language, and thus, in our su...
Update Hidden Values if Answers Are Changed
By default, hidden values do not update when respondents go backwards in a survey and change their answers. One way to solve this problem is to remove the Back button on a survey, but that still doesn't ensure that they can't click Back on t...
Create a System Usability Scale (SUS) Questionnaire
The System Usability Scale (SUS) is the most used questionnaire for measuring perceptions of usability.
Set Max Answers to Checkbox Question Dynamically Based on Previous Question Answer
Often survey builders wish to set the maximum answers a respondent can provide to a checkbox question dynamically based on the value entered in a previous Textbox question. You can achieve this, both for Checkbox questions on the same page and later...
Store Slider Answers in Radio Button Question to Make Available in Quiz Scores, Results Charts, Etc.
Sliders are a very popular question type. Unfortunately, they're not quite as flexible as some of our other question types. When it comes to using features like the Results Charts or Quiz Scores you'll find that Sliders are not available...
Keep Two Answer Options Together When Randomizing Options
When randomizing answer options customers often wish to keep to options together. That is, they wish for the options to randomly move about in the list of all answer options, however, they want...
Create a Master/Benchmark Survey
With the help of SurveyGizmo's Custom Scripting, there is a powerful solution that allows you to create responses in a Master Survey right after they are submitted in another survey.