poll "has voted" condition ?

  • Thread starter Thread starter Deleted member 122910
  • Start date Start date
D

Deleted member 122910

Guest
Is there a condition like this one:
Code:
<xen:if is="{$poll.canVote}">
But to check if the user has already voted in the current poll, instead of just checking if he has the permission to vote ?

thanks!
 
I found it in poll_block_result
Code:
{xen:if $response.hasVoted, voted}
Thanks, unfortunately it seems this variable isn't available in "wf_widget_poll" template :(
{$poll.canVote} is working but not {$response.hasVoted}
 
Back
Top Bottom