Experimental project

This is a sandbox project, which contains experimental code for developer use only.

The module has several advantages over core poll:

  • Removes the 1 vote per IP restriction (still records the IP address so malicious votes can be purged)
  • Voting is done via AJAX
  • Poll voting is recorded locally in the browser with local storage (so you see the results if you already have voted)
  • Poll results are returned via AJAX, and can be cached in varnish (with potentially a different TTL to the page)
  • Leverages core poll's content creation ability
  • Allows more than 1 option to be chosen, up to a configurable maximum, if more than one option is allowed, then checkboxes are presented rather than radio buttons

Project information