Determines whether the current user has voted in the specified poll. If the user is unauthenticated, a cookie is used.

Syntax

Smartsite SXML CopyCode image Copy Code
boolean poll.hasuservoted(locator poll)

Parameters

Name Data Type Description
poll Locator The poll.

Return Value

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