52 | | 1. name (required): name is used as a poll identifier, if you change the name value than it will be treated as new poll. |
53 | | Nowhere in the poll the name will be shown. Don't change the name of the poll after poll creation |
54 | | 2. title (required): title will be used as a poll title. You can change it whenever you want. |
55 | | 3. options (required): options should be separated by colon (:) option can also have Ticket id as their option like options = #1 : #2 : #3 In this case the summary will be pulled out from the valid tickets and will be used as option text with ticket link. |
56 | | 4. response (optional): response can take two values (1) multiple and (2) single. Default is (2) single option. |
57 | | 1. multiple: multiple response type will generate poll with checkboxes, in this case user can choose multiple options. |
58 | | 2. single: single response type will generate poll with radio buttons, in this case user can choose only one option. |
59 | | 5. user_can_change_vote(optional): user_can_change_vote can take two values (1) false and (2) true. Default is (1) false. |
60 | | 1. false: once user cast their vote, they cannot change their vote, Poll will be disabled for them, however they can see poll results. |
61 | | 2. true: user can change their vote at any time and many times. Poll will always be enabled for them and they can see poll results. |
62 | | 6. chart_type(optional): chart_type can take two values (1) pie and (2) bar. Default is (1) pie. |
63 | | 1. pie: Pie chart will be used to show poll results. |
64 | | 2. bar: Bar chart will be used to show poll results. |
65 | | User can see poll results only after casting their vote. |
| 52 | 1. name (required): name is used as a poll identifier, if you change the name value than it will be treated as new poll. Nowhere in the poll the name will be shown. Don't change the name of the poll after poll creation. |
| 53 | 1. title (required): title will be used as a poll title. You can change it whenever you want. |
| 54 | 1. options (required): options should be separated by colon (:) option can also have Ticket id as their option like options = #1 : #2 : #3 In this case the summary will be pulled out from the valid tickets and will be used as option text with ticket link. |
| 55 | 1. response (optional): response can take two values (1) multiple and (2) single. Default is (2) single option. |
| 56 | 1. multiple: multiple response type will generate poll with checkboxes, in this case user can choose multiple options. |
| 57 | 1. single: single response type will generate poll with radio buttons, in this case user can choose only one option. |
| 58 | 1. user_can_change_vote(optional): user_can_change_vote can take two values (1) false and (2) true. Default is (1) false. |
| 59 | 1. false: once user cast their vote, they cannot change their vote, Poll will be disabled for them, however they can see poll results. |
| 60 | 1. true: user can change their vote at any time and many times. Poll will always be enabled for them and they can see poll results. |
| 61 | 1. chart_type(optional): chart_type can take two values (1) pie and (2) bar. Default is (1) pie. |
| 62 | 1. pie: Pie chart will be used to show poll results. |
| 63 | 1. bar: Bar chart will be used to show poll results. User can see poll results only after casting their vote. |