New Articles

  1. sgapiSetQuestionRuntimeProperty(%%qID,%%property,%%value)

    This function sets the specified runtime property for the given question. Possible Properties Values Required true/false Soft-Required true/false Disabled tr...
  2. sgapiGetQuestionRuntimeProperty(%%questionID,%%property)

    This question returns the specified runtime property for the given question ID. Possible Properties Return Values Hidden boolean Required boolean Soft-Required ...
  3. sgapiBase64Decode(%%data)

    This is equivalent to the base64_decode function in PHP. It decodes base64 encoded %%data. To see an example or learn more other PHP functions and PHP programming, visit PHP Documentation . ...
  4. sgapiBase64Encode(%%data)

    This is equivalent to the base64_encode function in PHP. It encodes %%data with base64. To see an example or learn more other PHP functions and PHP programming, visit PHP Documentation . ...
  5. 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 PHP. ...
  6. 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...
  7. sgapiGetSurveyProgress()

    This function returns the percentage progress based on survey pages. Example If the above script is placed at the top of each survey page of a 6 page survey (including the Thank You page) the below percentages would be returned: ...
  8. sgapiPreg_Replace(%%pattern, %%replacement, %%subject, %%limit)

    This is equivalent to the preg_replace function in PHP. Searches %%subject for matches to %%pattern and replaces them with %%replacement. The optional %%limit parameter defaults to -1 (no limit). To see an example or learn more other PHP ...
  9. sgapiResponseReset()

    This function clears all data from the current response. Example This function can be used to clear the current response (using sgapiResponseReset) and begin again (using sgapiJumpToPage). Check it out in an Example Survey ...
  10. sgapiGetQuestionProperty(%%questionID, %%property)

    This function returns the given property to the given question. Possible Properties Return Values exclude_number boolean labels_right boolean orientation VER...