Online Poll

Last Updated: 18 Dec 2017

The following keywords can be used on an Online Poll.

Any Bodycopy

Keyword Replacement Information shown
%poll_question_id% Prints the asset ID of the current active question. You can use the ^as_asset keyword modifier to print any attribute of the current question asset, for example: %poll_question_id^as_asset:asset_name%.

Question Format Bodycopy

Keyword Replacement Information shown
%poll_question% This will show the value that has been entered into the Poll Question field on the Details screen of the current question.
%poll_date% This will show the date that the current question was created.
%poll_option_list% This will show the list of options that the user can select from for the current question.
%poll_vote_button% This will show a button that the user can press to submit their vote. When they click this button, the results for the current question will appear within the same window.
%poll_vote_button_new_window% This will show a button that the user can press to submit their vote. When they click this button, a new window will appear displaying the results for the current question.
%poll_vote_button_js% This keyword replacement allows you to show an image to use as the vote button. The user will be able to click on the image to submit their vote. When they click this image, the results for the current question will appear within the same window.
%poll_vote_button_js_new_window% This keyword replacement allows you to show an image to use as the vote button. The user will be able to click on the image to submit their vote. When they click this image, a new window will appear displaying the results for the current question.
%poll_view_results% This will show a hyperlink to the results for the current question.
%poll_view_results_url% This will show the URL to the results for the current question.
%poll_view_past_questions% This will show a hyperlink to the list of previous poll questions.
%poll_view_past_questions_url% This will show the URL to the list of previous poll questions.
%poll_active_question% This will show a hyperlink to the current question. The value entered into the Poll Question field on the Details screen of the current question is used as the text for the hyperlink.
%poll_active_question_results% This will show a hyperlink to the results for the current question. The value entered into the Poll Question field on the Details screen of the current question is used as the text for the hyperlink.
%poll_active_question_date% This will show a hyperlink to the current question. The value entered into the Poll Question field on the Details screen of the current question along with the date it was created is used as the text for the hyperlink.
%poll_active_question_date_results% This will show a hyperlink to the results for the current question. The value entered into the Poll Question field on the Details screen of the current question along with the date it was created is used as the text for the hyperlink.

Option List Format Bodycopy

Keyword Replacement Information shown
%poll_option_label% This will show the text for the option. This is the value entered into the Poll Option field on the Details screen of the Poll Question.
%poll_option_number% This will show the number of the option. This is based on the order of the options on the Details screen of the Poll Question.
%poll_option_id% This will show the input ID of the radio input field options.
%poll_option_vote_selection_button% This will show either a radio button or a check box for the option. A radio button will appear if the Allow Multiple Selections field on the Details screen of the Poll Question asset is set to No. If this field is set to Yes, however, check boxes will appear.

Results Format Bodycopy

Keyword Replacement Information shown
%poll_question% This will show the value that has been entered into the Poll Question field on the Details screen of the question.
%poll_date% This will show the date that the question was created.
%poll_view_results% This will show a hyperlink to the results for the current question.
%poll_view_results_url% This will show the URL to the results for the current question.
%poll_view_past_questions% This will show a hyperlink to the list of previous poll questions.
%poll_view_past_questions_url% This will show the URL to the list of previous poll questions.
%poll_active_question% This will show a hyperlink to the current question. The value entered into the Poll Question field on the Details screen of the current question is used as the text for the hyperlink.
%poll_active_question_results% This will show a hyperlink to the results for the current question.The value entered into the Poll Question field on the Details screen of the current question is used as the text for the hyperlink.
%poll_active_question_date% This will show a hyperlink to the current question. The value entered into the Poll Question field on the Details screen of the current question along with the date it was created is used as the text for the hyperlink.
%poll_active_question_date_results% This will show a hyperlink to the results for the current question. The value entered into the Poll Question field on the Details screen of the current question along with the date it was created is used as the text for the hyperlink.
%poll_results_list% This will show the results for the question.

Results List Format

Keyword Replacement Information shown
%poll_option_number% This will show the number of the option. This is based on the order of the options on the Details screen of the Poll Question.
%poll_option_label% This will show the text for the option. This is the value entered into the Poll Option field on the Details screen of the Poll Question.
%poll_option_bar% This will show a graph of the number of votes the option has received.
%poll_option_votes_number% This will show the number of votes the option has received.
%poll_option_votes_percent% This will show the percentage of votes the option has received.

Past Questions Format Bodycopy

Keyword Replacement Information shown
%poll_question_list% This will show the list of previous poll questions, including the current question. Each question will be hyperlinked to the Results Format Bodycopy. In other words, when the user clicks on the hyperlink, the results for that question will be shown.
%poll_question_list_date% This will show the list of previous poll questions and the date they were created. Each question will be hyperlinked to the Results Format Bodycopy. In other words, when the user clicks on the hyperlink, the results for that question will be shown. This list will include the current question.
%poll_question_list_no_active% This will show the list of previous poll questions, without the current question. Each question will be hyperlinked to the Results Format Bodycopy. In other words, when the user clicks on the hyperlink, the results for that question will be shown.
%poll_question_list_date_no_active% This will show the list of previous poll questions and the date they were created. Each question will be hyperlinked to the Results Format Bodycopy. In other words, when the user clicks on the hyperlink, the results for that question will be shown. This list will not include the current question.
%poll_active_question% This will show a hyperlink to the current question. The value entered into the Poll Question field on the Details screen of the current question is used as the text for the hyperlink.
%poll_date% This will show the date that the current question was created.

Past Questions List Format Bodycopy

Keyword Replacement Information shown
%poll_question% This will show a hyperlink to the question. The value entered into the Poll Question field on the Details screen of the question is used as the text for the hyperlink.

Previous Chapter Next Chapter

The Latest

Let Us Know What You Think

Let us know if you spot any errors or if you have any ideas on how we can improve the Matrix Community Website.

Contact Squiz for Demo

Let us show you the true power of Squiz Matrix by giving you a personalised demonstration.