Skip to content
Zotonic
  • Start
  • Cookbook
  • Reference
  • Releases

Live search

Search across all Zotonic content

Type at least two characters

Results are matched against titles, summaries and topics as you type.

Filters · mod_survey
  • Reference
  • Frontend developer
  • Surveys
  • Template filter
  • Transform
  • Structured data

survey_prepare_matching

Module

mod_survey

Prepare the items and options of a survey matching question for rendering.

Each translated input line is split at = into an item and its matching option. Optional value#label markers provide stable submitted values. The result contains separate items and randomized options lists, together with the question's test settings.

Edit on GitHub

Related documentation

Filters

survey_prepare_thurstone

Normalize a survey Thurstone question before rendering or processing it.

Filters

survey_page_options

Check the list of blocks and collect all options for that page.

Filters

survey_result_column_values

Used by the survey module to add extra column values to the result editor.

Filters

survey_as_pages

Split the page blocks into pages, prepare them for easy display in the survey question editor.

Filters

make_value

Convert a template value to its simple value representation.

Filters

survey_is_history_back

Test whether a survey respondent may return to the previous page in a history.

Filters

translated_texts

Check all properties of a map, list or resource. Returns a list of all properties that are translated (have a #trans{} record) and their…

Filters

to_boolean

Convert the input to a boolean value.

Filters

floor

Round down a floating point value.

GitHub © 2026 Zotonic