[h2]What polls are for[/h2]

A poll asks a visitor one question and shows the results. The question has options, or a rating: stars from 1 to 5, or a scale from 0 to 10. One person votes once; results show the average and the spread of answers.

[h2]How to run one[/h2]

[list=1]
[*]Create a poll in [b]Polls[/b]: the question, the options (one per line) or the kind of rating.
[*]Set its state: draft, open, queued (it takes its turn in the queue) or closed.
[*]Look at the results in the same list; a closed poll keeps its results.
[/list]

[h2]Settings on this page[/h2]

[list]
[*]whether guests may vote, and how many guest votes one address can cast per day;
[*]whether to show how many people have answered;
[*]the queue: polls can replace each other automatically every day, three days, a week, two weeks or a month; when the queue ends it can start over.
[/list]

[h2]Poll types and voting rules[/h2]

[list]
[*]a question with options: one answer or several (you can set “at most” and “at least”); an option can have an image from the site media library (chosen after the poll is saved the first time);
[*]a rating: stars from 1 to 5 or a 0–10 scale, with the average and the distribution as results;
[*]a quiz: the question has a correct answer and an explanation. They are hidden before answering; after answering a person sees “Correct!” or “Not quite”, the correct answer and the explanation. A quiz answer cannot be changed. A quiz is not an exam: a guest who clears cookies will see the correct answer after voting;
[*]who can vote: guests (by a checkbox) or only members with the chosen role. With roles chosen, guests never vote; the check runs on every vote against the person’s current roles. Role access applies only to polls of this module, not to forum polls (they have their own rules).
[/list]

[h2]When to show results[/h2]

Every poll has a rule for showing results: “only to those who answered” (the default: seeing other answers in advance makes people choose the majority, not their own opinion), “always” or “only after it closes”. “Live results” refresh the shares and vote counts once a minute while the page is open — for a broadcast, a meeting or a stream.

[h2]Answer, “Other” and period[/h2]

A vote is sent without reloading the page: the results appear in place, and without scripts the form works as usual. “Allow changing the answer until closing” replaces the vote instead of adding a second one. “Own option” adds a last “Other” line with a field: what visitors type is not shown on the site — the texts are in the admin, and a frequent answer can be turned into a regular option. “Show period” gives dates “from” and “to”: outside it the poll is not shown.

[h2]How the admin form is organised[/h2]

At the top is what every poll needs: type, question, notes, options. The rest is in four folds: “How people vote” (several answers, limits, changing the answer, “Other”), “Who can vote” (guests and roles: a drop-down with search), “Showing results” and “Show period”. The preview on the right shows the poll as you type.

[h2]Where to go next[/h2]

[list]
[*][url=admin:polls]Polls[/url]
[/list]
