This article provides some ready-to-use CSL code snippets for different situations. Each snippet can be customized further.
Post-filling lets you place an answer in question after the page has been submitted. Handy for calculations involving questions on that page.
Use our built-in survey scripting language (CSL) in your surveys, reports and dashboards to add variables, dynamic content and other complex logic.
If you want to use your contact data in reports, you can save it in hidden questions. It also lets you take unstructured text data and turn it into structured data that is easy to analyse.
Check your CheckMarket Scripting Language (CSL) syntax. This online tool will help quickly spot errors in your CSL code.
Use display logic to conditionally hide questions, sub-questions and answer choices.
Variables available in the Survey Interface (SI) from the CheckMarket Scripting Language (CSL). Use them to add dynamic content to your surveys, emails and notifications.
Pre-fill an answer to a survey question through the URL or setting a default answer which can be meta-data, random selections, variables, and fixed values.
Create a quiz, test or exam by adding scoring and points! Apply it in your HR surveys, use it as a classification in product or customer surveys, etc. When people answer a question, you can tell them if they got it right, or keep their scores to yourself.
It is crucial to pass operational data to your survey and then combine it with experience data you gather in the survey to create insightful reports and dashboards.
Variables available in the ReportBuilder from the CheckMarket Scripting Language (CSL). Use them to add dynamic content to your reports.
Using querystring parameters, you can automatically prefill (hidden) survey questions. This enables you to add tracking codes or other identifiers to your survey without asking the respondent.
Page display logic allows you to show or hide pages for respondents depending on their previous answers or other meta-data.
You can give each survey page a title. Once page titles are set, they are displayed when setting branches. This can help when dealing with large surveys.
Branching is used to have respondents skip certain questions that are not relevant to them. This allows you to create different routes through your survey .
Extraction is the ability to select which questions and/or responses to display, based on the responses given to previous questions
Using piping you can re-use a selected or given answer to one question in a later question, sub-question or response option in your survey.