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
  • Query
  • Structured data

survey_result_column_values

Module

mod_survey

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

Example usage:

{% with id|survey_result_column_values:answer:columns:"html" as vs %}
    {% for col,_ in columns %}
        <td>
            {{ vs[col] }}
        </td>
    {% endfor %}
{% endwith %}

Where columns has been returned by the #survey_result_columns{} notification.

Edit on GitHub

Related pages

  • observe_survey_result_columns/3 Add header columns for export. The values are the names of the answers and the text displayed above the column. The text format is for a complete export, the… →
  • observe_survey_result_column_values/3 Modify row with answers for export. The header columns are given and the values that are known are set in the folded value. The user_id is the user who filled… →

Related documentation

Filters

survey_page_options

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

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

survey_prepare_thurstone

Normalize a survey Thurstone question before rendering or processing it.

Filters

survey_prepare_matching

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

Filters

ip2geo

Return geographic information associated with an IP address.

Filters

survey_test_max_points

Counts the total of all points that can be received for all test questions. Non test questions are not counted.

Filters

admin_filter_count

Count active filters in admin overview query arguments, for example to display the number of selected filters on the overview's Filter…

Filters

survey_is_history_back

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

Filters

extract

Extract a specific property from each item in a list.

GitHub © 2026 Zotonic