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
  • Number

survey_test_max_points

Module

mod_survey

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

Usage:

{{ survey_id|survey_test_max_points }}

Return the number of points if all questions are corectly answered.

See module#mod_survey

Edit on GitHub

Related documentation

Filters

sum

Sum a list of numbers.

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_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

extract

Extract a specific property from each item in a list.

Filters

floor

Round down a floating point value.

Filters

filter_by

Filter a list of items based on a property value and optional predicate.

Filters

survey_is_save_intermediate

Check if the given survey is configured to save intermediate results. Always returns a boolean value.

GitHub © 2026 Zotonic