-
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! Place this ...
-
There might be an instance where you want to disable the right-click functionality in a survey. If so, here's a quick piece of JavaScript you can use! Please note that respondents could still use keyboard shortcuts or menu options, this will only di...
-
Created On: 04/02/2015
in Tips and Tricks
SurveyGizmo supports two kinds of scripting in surveys: Custom Scripting and JavaScript. You can add each to your survey by adding the script to either a Custom Script or JavaScript action respectively.
Custom Scripting is scripting langu...
-
Created On: 04/02/2015
in Tips and Tricks
When you are writing Javascript in SurveyGizmo and need to interact with the DOM, the most straightforward option is often to use the IDs of the specific elements that you are interacting with. For example, here is the HTML for an individual textb...
-
In this example, we are going to only show the rows in the target radio button grid questions for which any of a specified set of column answers were checked in the source Radio Button Grid.
For this to work, the target Grid question must be se...
-
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...
-
Unfortunately the multi-sliders question does not have piping as a feature, but we can do this through a custom script as illustrated here.
For this to work the target question must be setup with slider option names which correspond to the opti...
-
In this example is a script which queries for which rows in a Radio Button Grid respondents answered an option between the values of 6 and 10 and then filter the list of options in the subsequent Checkbox question accordingly. For this to work the t...
-
In this example we are going to only show the rows in the target radio button grid questions for which any of a specified set of column answers were checked in the source grid.
For this to work, the target grid question must be setup with row t...
-
In this scenario, we are going to set up a custom script to filter the grid rows displayed in a target question based on any corresponding options selected in the source checkbox question. Normally, it would be fine to use standard piping, but here...