-
Created On: 06/06/2014
in PHP Functions
This is equivalent to the min function in PHP. It is used to find the lowest value.
Example
%%minvalue = array(85,66,22,99);
%%output .= sgapiPrint_R(sgapiMin(%%minvalue));
// will output 22
To see an example or learn more...
-
Created On: 05/27/2014
in Tips and Tricks
Did you know that you can use the question Alias in place of question ID almost universally in scripting and merge codes? Why aliases are much better to use in scripts You can use aliases in your script that mean something. Your scripts can be ...
-
Created On: 05/01/2014
in PHP Functions
This is equivalent to the array_search function in PHP. Given a value(%%needle) and an array (%%haystack) this function will return the key.
To see an example or learn more other PHP functions and PHP programming, visit PHP Documentation...
-
Building and sending attachments with custom content is a very common customization achieved via custom scripting. To learn how to build a PDF file with custom content see our PDF Functions .
Once you've built your custom content the are two o...
-
Created On: 03/06/2014
in SurveyGizmo Functions
This function returns an array of the piped values for the given page-piped question.
Example
In the below example, we output the values of question ID 8 which is page-piped from a question on a previous page.
Check it out in an E...
-
Created On: 02/20/2014
in PHP Functions
This is equivalent to the rsort function in PHP. This function sorts an array in reverse order (highest to lowest), and then reindexes it. This means the keys are now numerical.
The %%flag parameter defaults to "SORT_REGULAR". See the PHP do...
-
Created On: 02/20/2014
in PHP Functions
This is equivalent to the krsort function in PHP. This function sorts an array by key in reverse order. Elements will be arranged in reverse order when this function has completed.
The %%flag parameter defaults to "SORT_REGULAR". See the PHP ...
-
Created On: 02/20/2014
in PHP Functions
This is equivalent to the arsort function in PHP. This function sorts an array in reverse order and maintains index association. Elements will be arranged in reverse order when this function has completed.
The %%flag parameter defaults to "S...
-
Created On: 02/20/2014
in PHP Functions
This is equivalent to the ksort function in PHP. This function sorts an array by key. In this case, key is the answer option SKU. Elements will be arranged sequentially when this function has completed.
The %%flag parameter defaults to "SORT_...
-
When using disqualification in a survey often there is more than one point at which a response can be disqualified. Unfortunately, there is not a way, within our core application, to easily evaluate how frequently each disqualification point is reac...