-
Created On: 01/19/2014
in SurveyGizmo Functions
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
...
-
Created On: 01/19/2014
in SurveyGizmo Functions
This function returns the given property to the given question.
Possible Properties
Return Values
exclude_number
boolean
labels_right
boolean
orientation
VER...
-
This script 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 they ...
-
Looking for a way to disqualify a respondent based on an email address or customer ID# that has already been entered in your survey? Not a problem! This script will check your survey's database for a particular question to see if the same data has b...
-
Created On: 01/09/2014
These functions allow you to make some common API calls to the SurveyResponse object.
sgapiList - This function returns the list of responses for the given survey. This is equivalent to a get list on the SurveyResponse object via the Re...
-
Created On: 01/09/2014
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...
-
Created On: 01/09/2014
in PHP Functions
This function is the equivalent of the array_rand function in PHP. Picks one or more random entries out of an array, and returns the key (or keys) of the random entries.
%%arr = the defined array.
%%number = the number of returned array ...
-
Created On: 01/09/2014
We've included many common PHP functions into our scripting language to allow you to achieve the functionality you desire.
To learn more about PHP functions and programming, visit PHP Documentation .
...
-
Created On: 01/09/2014
The PDF functions allow you to build a PDF within a response to be sent via the sgapiEmailSend function.
PHP PDF Creation - Use these functions to dynamically create a PDF document using PHP. PDFs can be output and attached to an email ...
-
Created On: 01/09/2014
These functions manage your email contact lists, create email content and trigger send email actions.
sgapAddContactToInvite - This function adds the given contact to the given invite.
sgapiRemoveContactFromInvite - This function...