-
Last Updated: 08/30/2016
in Tips and Tricks
If you're using JavaScript you'll eventually need to find out where a element ID is. This tutorial will walk you through locating your element IDs.
Browsers:
Each browser will have a different way to find your element ID. In ...
-
Last Updated: 05/23/2019
JavaScript Working Example documentation content has moved to our new custom scripting resource site: luascript.surveygizmo.com/help
-
Last Updated: 08/02/2017
in SurveyGizmo Functions
This function returns the answer option title of the selected answer option (or null, if not answered). For single-select questions, a single value is returned. Multi-select and matrix questions will return an array. Using the %%language paramet...
-
Last Updated: 06/26/2017
in SurveyGizmo Functions
This function jumps the respondent to the specified page ID.
Example
In this example, respondents who answer question ID 2 "No" are jumped to page ID 4.
Check it out in an Example Survey
%%children = sgapiGetValu...
-
Last Updated: 03/05/2015
These functions were built to allow you to interact with your surveys to build the exact functionality you want.
Question Functions
These are functions that allow you to evaluate and affect survey questions. For example, sgapiGetVa...
-
Last Updated: 08/30/2016
in Tips and Tricks
If you are utilizing Custom Scripts in your surveys, you will likely have a need for referencing answer options, questions, or survey pages. Each of these items have their own unique identifiers that can be referenced in your scripts. Read on to l...
-
Last Updated: 06/26/2017
in SurveyGizmo Functions
This function returns an array of options for the given question. %%type can be "Reporting" or "Title" (default for type is "Title").
Example
The below script outputs both the answer option titles and repor...
-
Last Updated: 12/20/2017
in SurveyGizmo Functions
This function returns the option sku for the selected answer. For multi-select questions will return an array. Example In this example, we return the option sku of a single-select question (ID 7) and a multiple-select question using sgapiGetQuest...
-
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...
-
Last Updated: 12/29/2015
in API Functions
This function returns the list of responses for the given survey. This is equivalent to a get list on the SurveyResponse object via the RestAPI. To learn more visit the SurveyResponse API Object documentation.
Parameters
%%page -...