Survey scripting API definition Learn more about the supported functions, data points, and objects in survey scripting. Accessing survey data points with scripting Data points are objects that capture the responses to the questions in a survey. Their format varies depending on the question type. The author must explicitly define what data points the script needs access to. Respondent variables in scripting Use scripting to get respondent variable values such as response start time, locale, and display type. Profile and system variables in scripting You cannot use scripting to create new profile variables; however, you can use it to get and set values for existing profile variables. Profile variable value updates occur asynchronously through scripting. Quotas in scripting Use scripting to get information about an existing quota. Custom validation in scripting Set custom validation logic for certain questions on the page. Custom validation occurs onComplete. External APIs in scripting Use scripting to call external APIs and fetch data from other sources. Page manipulation in scripting Use the page object to manipulate the page at the last stage of the responding engine. At this point, survey logic, piping, localization, and randomization and rotation have all already occurred. Reorder answers, columns, and rows using scripting Use scripting to reorder child elements in questions. Custom debugging in scripting You can add debugging information anywhere in the script and get the debugging information in the responding service response payload, as well as the console logs when using the responding UI app.