bookmark_borderPoll Merge Tags

The Polls Add-On introduces two new Gravity Forms Merge Tags that can be used anywhere within Gravity Forms where merge tags supported. Merge Tags are primarily used in the Form Confirmation message and Notification messages to output the results of a Poll Field or All Poll Fields within the content of the message. The Polls related merge tags also introduce parameters to the Gravity Forms Merge Tags.

{all_poll_results}

Displays the results of all Poll Fields that exist in the form.

Example:

{all_poll_results: style="green" percentages="true" counts="false"}
  • style
    The Add-On currently supports 4 built in styles: red, green, orange, blue. Defaults to ‘green’. (optional)
  • percentages
    Display results percentages as part of results? Support values are: true, false. Defaults to ‘true’. (optional)
  • counts
    Display number of times each choice has been selected when displaying results? Support values are: true, false. Defaults to ‘true’. (optional)

{gpoll}

Displays the results of a specific Poll Field defined in the merge tag.

Example:

{gpoll: field=2 style="red" percentages="true" counts="true"}
  • field
    The id of the field you would like to display. (required)
  • style
    The Add-On currently supports 4 built in styles: red, green, orange, blue. Defaults to ‘green’. (optional)
  • percentages
    Display results percentages as part of results? Support values are: true, false. Defaults to ‘true’. (optional)
  • counts
    Display number of times each choice has been selected when displaying results? Support values are: true, false. Defaults to ‘true’. (optional)