Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

A survey block is a page-builder component used for Survey pages only. It is used to create the survey questions you want to add to your page. They can be of many various input types, and can display depending on answers to other questions.

Answers to survey questions are viewed via the page’s survey results.

Info

Questions answered in a survey are not the same as component type Questions, and are not queryable.

...

  • Reference name – the internal name of the question for reporting

  • Question – the text displayed to the supporter for the question

  • Help text – optionally, additional text that appears under the question to help the supporter complete their answer

  • Mandatory – whether the supporter has to answer to submit the page

  • Validator – optionally, a validator to check the text that the supporter has entered

  • Answer type – the input type of the answer, for example Text or Select (a drop-down). These act in the same way as input types in form blocks

  • Default value / Default content – for a text answer, you can have a default value. For selects and radios, you will have default content to populate the various options the supporter can choose

Here’s an example:

...

Info

Survey block question responses have a 2000 character limit. You can leverage validators on your survey questions to prevent responses that are too long from being submitted.

Display options

Once saved, you have an additional setting available on the question, which is to “Show this question depending on the answer to a previous question?”.

...