New Articles

  1. sgapiGetQuestionIDByAlias(%%alias)

    This function returns the Question ID by the "alias" assigned via the Build Tab. Learn more here . Examples The following example will output the Question ID for a question with an alias of "gender question". ...
  2. 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...
  3. 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 ...
  4. sgapiIsHttps()

    This function returns a boolean for whether or not the survey link is set to secure (https). Example In the below example we're running some piece of code if the link is secure. if (sgapiIsHttps() === true{ // code } ...
  5. 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 PHP any of the operators that are available in PHP are available in our scripting language, and thus, in our su...
  6. Update Hidden Value If Question Answers Do Not Match

    We have a feature that will verify two textbox questions on the same page match (Example: Verify that the respondent enters the same email address twice).  This code snippet is used to check to see if the answers to any two questions in the ...
  7. Getting Started Using JavaScipt in SurveyGizmo

    While SurveyGizmo is one of the most flexible survey tools out there, we get a few requests here and there for customizations that are not available. This is where JavaScript and Custom Scripting can save the day. If you have scripting chops you can...
  8. Getting Started with Custom Scripting

    To add a custom script action to your survey, click the Action button at the bottom of any page in your survey. Give your action a name. It's a good idea to describe what the action is doing in the name, for example, "Disable ...
  9. Show a Number of Randomly Selected Rows from a Grid

    As part of our core randomization options you have the ability to randomize columns and randomize row order in a grid question. Unfortunately, there is not a built-in way to only randomly show a subset of the rows in your grid question. Never fear! ...
  10. Email Respondent a Certificate

    Need to create and email a personalized certificate to a respondent? No problem! After creating your own certificate image, upload the image to your SurveyGizmo file library, copy this script and paste it into a custom script action, modify t...