Updated Articles

  1. 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...
  2. 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...
  3. Working Examples of JavaScript

    JavaScript Working Example documentation content has moved to our new custom scripting resource site: luascript.surveygizmo.com/help
  4. Custom Question Builder

    Available on these licenses: Full Access Under Account > Libraries > Custom Questions we provide a framework to build your own survey question from scratch. Below we'll cover a fairly basic custom question setup. Before we get star...
  5. Calculate Age From Birthday

    This JavaScript will perform age verification based on the date of birth entered in an open-text field. The qualifying age can be set in the script (18 years old, 21 years old, etc.) and if the user is not old enough, they will be disqualified. If t...
  6. sgapiMDecrypt

    Warning! We highly discourage use of this feature going forward as this has been deprecated in PHP. You will not be able to decrypt data encrypted through this method in the future.  Learn more. This is equivalent to mdecrypt_generic in ...
  7. sgapiMCrypt

    Warning! We highly discourage use of this feature going forward as this has been deprecated in PHP. Learn more. This is equivalent to mcrypt_generic in PHP. This function encrypts data. The following parameters are supported in the sgapiMCr...
  8. 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. While this is not a built-in feature, we do have some easy-to-u...
  9. sgapiDisqualify(%%message)

    This function disqualifies the user and ends the survey. %%message will display your customized message to the respondent. Example In this example, if the answer to question ID 2 is "no" and there are fewer than 3 answered questions on ...
  10. Using Continuous Sum Total in a Merge Code

    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...