XF 2.2 Poll -- show total number of responses

Morrus

Member
I'm looking at the template poll_macros and I can see where the number of total voters in a poll is shown using {$poll.voter_count|number}.

What I'd like to be able to display is the total number of individual responses in a poll which allows multiple choices.

For example:

---
OptionA Votes: 5
OptionB Votes: 2
OptionC Votes: 6

Total voters: 7
---
What I need is how to display the total value of 13 responses cast in the above example.

Thanks in advance for anybody who can help!
 
Top Bottom