New Articles

  1. sgapiArrayKeys(%%array)

    This is equivalent to the array_keys function in PHP. Return all the keys or a subset of the keys of an array To see an example or learn more other PHP functions and PHP programming, visit PHP Documentation . ...
  2. sgapiArrayIntersect(%%array1,%%array2)

    This is equivalent to the array_intersect function in PHP. Returns an array containing all the values of array1   that are present in all the arguments. Note that keys are preserved. To see an example or learn more other PHP functions and ...
  3. sgapiArrayDiffKey(%%array1,%%array2)

    This is equivalent to the array_diff_key function in PHP. Computes the difference of arrays using keys for comparison. To see an example or learn more other PHP functions and PHP programming, visit PHP Documentation . ...
  4. sgapiArraySum(%%array)

    This is equivalent to the array_sum function in PHP. Calculate the sum of values in an array To see an example or learn more other PHP functions and PHP programming, visit PHP Documentation . ...
  5. sgapiArrayCombine(%%keys array,%%values array)

    This is equivalent to the array_combine function in PHP. Creates an array by using one array for keys and another for its values. To see an example or learn more other PHP functions and PHP programming, visit PHP Documentation . ...
  6. sgapiArraySlice(%%array,%%offset,%%length,%%preserve_keys)

    This is equivalent to the array_slice function in PHP. Returns the sequence of elements from the array as specified by the offset and length parameters. To see an example or learn more other PHP functions and PHP programming, visit PHP Documen...
  7. Set Max Answers to Checkbox Question Dynamically Based on Previous Question Answer

    Often survey builders wish to set the maximum answers a respondent can provide to a checkbox question dynamically based on the value entered in a previous Textbox question. You can achieve this, both for Checkbox questions on the same page and later...
  8. sgapiTranslate(%%string,%%language)

    This function translates a string in custom scripting to the current language of the survey (or a language specified as the optional second parameter). The sgapiTranslate function creates a translation field for the specified string in the Tex...
  9. sgapiGetSurveyProperty(%%propertyname)

    This function returns the given property for the current survey. Possible Properties Return Values survey_interaction_desktop INTERACTION_STANDARD survey_interaction_mobile INTERA...
  10. sgapiSetPageProperty(%%pageid,%%propertyname,%%value)

    This function allows you to set a specific property for a page with a given page ID for the active response session. Possible Properties Return Values status_change normal, partial, complete, disqualif...