-
Created On: 08/08/2020
in Alchemer Functions
This function allows you to set the value for an individual cell in a custom table question.
Example
The custom table has two rows and two column questions (one radio button and one textbox). In this example, we will pre-populate the ra...
-
Created On: 08/08/2020
in Alchemer Functions
This function submits the data on the current page and records the response as complete. All data collected on previous pages will be stored for reporting.
Note: this will not submit the current page and move to the next. To do that, use...
-
Created On: 08/08/2020
in Alchemer Functions
This function returns the value for the given merge code. Merge codes need to be wrapped in single quotes ' ' so that they are represented as strings.
Example
In this function we are evaluating and returning the value from the fir...
-
Created On: 08/08/2020
in Alchemer Functions
This function returns the given property for the current survey.
Possible Properties
Return Values
survey_interaction_desktop
INTERACTION_STANDARD
survey_interaction_mobile
INTERA...
-
Created On: 08/08/2020
in Alchemer Functions
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...
-
Created On: 08/08/2020
in Alchemer Functions
This function submits the data from the current page and records the response as a partial. All data from previous pages will be stored for reporting.
Note: this will not submit the current page and move to the next. To do that, use sgapiJum...
-
Created On: 08/08/2020
in Alchemer Functions
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:
...
-
Created On: 08/08/2020
in Alchemer Functions
This question returns the specified runtime property for the given question ID.
Possible Properties
Return Values
Hidden
boolean
Required
boolean
Soft-Required
...
-
Created On: 08/08/2020
in Alchemer 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: 08/08/2020
in Alchemer Functions
This function returns the given property to the given question.
Possible Properties
Return Values
exclude_number
boolean
labels_right
boolean
orientation
VER...