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.

Scomp · mod_survey
  • Reference
  • Frontend developer
  • Forms
  • Surveys
  • Server component
  • Render

poll

Module

mod_survey

Show a given survey (with the id parameter) as a “poll”. This presents a simpler interface, in which the user is directly asked to enter some information, e.g. make a choice between certain things:

{% poll id=123 %}

Edit on GitHub

Related documentation

Scomp

survey_start

Show the first page for a given survey (with the id parameter):

Scomp

mailinglist_subscribe

Show the mailinglist subscription form to subscribe to a certain mailinglist id.

Scomp

chart

Render a chart without JavaScript, CSS, external services, or external assets.

Scomp

chart_donut

Render a donut chart as inline SVG.

Scomp

script

This tag is the placeholder where all generated JavaScript scripts will be output on the page.

Scomp

chart_pie3d

Deprecated compatibility alias for chart_pie.

Scomp

pager

Show a pager for search results.

Scomp

live

Live-updating templates driven by MQTT topics.

Scomp

spinner

Add an AJAX activity indicator.

GitHub © 2026 Zotonic