# Multiple Polls, misleading unique name error

**URL:** https://meta.discourse.org/t/multiple-polls-misleading-unique-name-error/285581
**Category:** UX
**Tags:** completed
**Created:** [November 15, 2023, 2:21pm UTC](https://meta.discourse.org/t/multiple-polls-misleading-unique-name-error/285581 "2023-11-15T14:21:00Z")
**Posts on this page:** 7
**Page:** 1

<div class="post-metadata">

### Author: ![Plabforum](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/plabforum/32/449551_2.png) [@Plabforum](https://meta.discourse.org/u/Plabforum)
#### Post date: [November 15, 2023, 2:21pm UTC](https://meta.discourse.org/t/multiple-polls-misleading-unique-name-error/285581/1 "2023-11-15T14:21:00Z")

</div>

Can anyone help me guide, where should I insert this code?

`<code>name</code>`

 ![Screenshot 2023-11-15 at 2.18.00 PM](https://global.discourse-cdn.com/meta/original/4X/1/9/1/1914a10b7d9eaf3b540ad414472717542dabab1f.jpeg)  
 ![Screenshot 2023-11-15 at 2.18.15 PM](https://global.discourse-cdn.com/meta/original/4X/9/6/f/96f5c387f32f26b5791bd555c71774a730dcfed9.jpeg)

---

<div class="post-metadata">

### Author: ![Moin](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/moin/32/554653_2.png) [@Moin](https://meta.discourse.org/u/Moin)
#### Post date: [November 15, 2023, 2:26pm UTC](https://meta.discourse.org/t/multiple-polls-misleading-unique-name-error/285581/2 "2023-11-15T14:26:52Z")

</div>

When I add more than one poll to a post using the “build poll” option, the poll name is added as the first item in the brackets.

[poll name=poll2 type=regular results=always public=true chartType=bar]

So I’d try adding `name=NAME` right at the beginning after `poll`

---

<div class="post-metadata">

### Author: ![Moin](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/moin/32/554653_2.png) [@Moin](https://meta.discourse.org/u/Moin)
#### Post date: [November 15, 2023, 2:29pm UTC](https://meta.discourse.org/t/multiple-polls-misleading-unique-name-error/285581/3 "2023-11-15T14:29:22Z")

</div>

But I think the `<code>` should not appear is the popup. It is confusing because you don’t have to add them and there are aditional backticks around it. So maybe this topic could be moved to #Contribute > UX

---

<div class="post-metadata">

### Author: ![Arkshine](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/arkshine/32/298682_2.png) [@Arkshine](https://meta.discourse.org/u/Arkshine)
#### Post date: [November 15, 2023, 2:41pm UTC](https://meta.discourse.org/t/multiple-polls-misleading-unique-name-error/285581/4 "2023-11-15T14:41:56Z")

</div>

You’re right; it’s misleading. I’ve moved to #Contribute > UX 👍

---

<div class="post-metadata">

### Author: ![Plabforum](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/plabforum/32/449551_2.png) [@Plabforum](https://meta.discourse.org/u/Plabforum)
#### Post date: [November 15, 2023, 3:10pm UTC](https://meta.discourse.org/t/multiple-polls-misleading-unique-name-error/285581/5 "2023-11-15T15:10:11Z")

</div>

Okay, that worked, Thank you! ❤

---

<div class="post-metadata">

### Author: ![awesomerobot](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/awesomerobot/32/142900_2.png) [@awesomerobot](https://meta.discourse.org/u/awesomerobot)
#### Post date: [November 15, 2023, 4:38pm UTC](https://meta.discourse.org/t/multiple-polls-misleading-unique-name-error/285581/6 "2023-11-15T16:38:42Z")

</div>

I’ve added a fix here, and clarified the text a little:

[https://github.com/discourse/discourse/pull/24388](https://github.com/discourse/discourse/pull/24388)

 ![Screenshot 2023-11-15 at 11.14.20 AM](https://global.discourse-cdn.com/meta/original/4X/2/6/1/261cb4f6bfdb16e0f9045af612cd134d14f301a6.png)

Thanks @Plabforum & @Moin!

---

<div class="post-metadata">

### Author: ![JammyDodger](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/jammydodger/32/254611_2.png) [@JammyDodger](https://meta.discourse.org/u/JammyDodger)
#### Post date: [November 18, 2023, 8:00am UTC](https://meta.discourse.org/t/multiple-polls-misleading-unique-name-error/285581/7 "2023-11-18T08:00:24Z")

</div>

This topic was automatically closed after 2 days. New replies are no longer allowed.
