JavaScript Affecting Survey Questions

Articles

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 tha...
Disable Radio Button Once Option is Selected
While we do have a built-in feature that will hide a question once it is answered . This JavaScript will allow you to still display the question but not allow changes. It works with Radio Button questions and Radio Button Grids .   Check i...
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...
Hide Other Textbox Until 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. Many users want their survey to be as clean as possible. Only showing an other fi...
Change Please Select In Individual Dropdowns
Did you know you can customize the default Please Select text used in Dropdown Menus , Dropdown Menu Lists , Dropdown Menu Grids , and Cascading Dropdown Menu question types? You can also translate this text for multi-language surveys. Here&#...
Change Please Select in Cascading Dropdown
This feature is now available via the Text & Translations   interface under the Messages tab. This JavaScript will allow you to change "Please Select" to the text you prefer on a Cascading Dropdown question. Check it ou...
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 US account or your EU acc...
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...
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...
Radio Button/Checkbox Grid: Make Other Row Fill-ins Required
Other Textboxes within grid questions do not force a response within the textbox in the row header. This JavaScript will disable and uncheck the row's answer options unless text has been input in the Other Textbox field. Check it out in an e...
Combining Sums from Two Continuous Sum Questions
Ever needed to add the totals from one or more Continuous Sum question on the same page?* This script is increadibly easy to add to your survey. The output is displayed to the respondent in a Text / Instructions field. Check it out in an ...
Sum a Column from a Custom Table
Ever needed to sum the input to a textbox column on a Custom Table?* This script is increadibly easy to add to your survey. The output is displayed to the respondent below the Custom Table. Check it out in an example survey ! Put the script to...
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...