Determines if the current user already voted for this poll. If the user is unauthenticated, a cookie is used.

This viper method also supports the extension viper syntax.

Syntax

Smartsite SXML CopyCode image Copy Code
boolean this.hasuservoted()

Extension Viper Syntax

Smartsite SXML CopyCode image Copy Code
boolean page.<id>.hasuservoted()

Parameters

Name Data Type Description
poll Locator The poll.

Return Value

Data Type Description
Boolean trueif the current user has voted in this poll; otherwise,false.

Used in

Macro Description
Poll Smartsite Web Toolkit Polling Module
SXML