Help Center

Survey CSL snippets

This article provides some ready-to-use CSL code snippets for different situations. Each snippet can be customized further.

Survey Question Post-filling

Post-filling lets you place an answer in question after the page has been submitted. Handy for calculations involving questions on that page.

Capture contact data in hidden questions

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.

CSL – Validator

Check your CheckMarket Scripting Language (CSL) syntax. This online tool will help quickly spot errors in your CSL code.

CSL – Survey Variables

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.

Survey Question Prefilling

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.

Quizzes and scoring in surveys

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.

Passing operational data to a survey

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.

CSL – Report Variables

Variables available in the ReportBuilder from the CheckMarket Scripting Language (CSL). Use them to add dynamic content to your reports.

Page display logic

Page display logic allows you to show or hide pages for respondents depending on their previous answers or other meta-data.

Page titles

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.

Adding branching in 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