# Any way to have a single option poll with just one option to choose from?

**URL:** <https://meta.discourse.org/t/any-way-to-have-a-single-option-poll-with-just-one-option-to-choose-from/75246>\
**Category:** Support\
**Tags:** polls\
**Created:** [2017年十二月2日 17:23 UTC](https://meta.discourse.org/t/any-way-to-have-a-single-option-poll-with-just-one-option-to-choose-from/75246 "2017-12-02T17:23:54Z")\
**Posts on this page:** 19\
**Page:** 1

<div class="post-metadata">

**Author:** ![tobiaseigen](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/tobiaseigen/32/539204_2.png) [@tobiaseigen](https://meta.discourse.org/u/tobiaseigen)\
**Post date:** [2017年十二月2日 17:23 UTC](https://meta.discourse.org/t/any-way-to-have-a-single-option-poll-with-just-one-option-to-choose-from/75246/1 "2017-12-02T17:23:54Z")

</div>

Maybe an odd request, but I’m interested in creating an “opt in” poll that just has one option, but the poll is throwing an error. Is there any way, even a workaround, that can work?

 ![15 AM](https://global.discourse-cdn.com/meta/original/3X/3/b/3b08819b2b3fc9aa54c3cf268ed4fc83abe819d5.png)

---

<div class="post-metadata">

**Author:** ![cpradio](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/cpradio/32/4970_2.png) [@cpradio](https://meta.discourse.org/u/cpradio)\
**Post date:** [2017年十二月2日 17:28 UTC](https://meta.discourse.org/t/any-way-to-have-a-single-option-poll-with-just-one-option-to-choose-from/75246/2 "2017-12-02T17:28:01Z")

</div>

Put in a fake second option, delete it once it is in the composer and see what happens?

---

<div class="post-metadata">

**Author:** ![tobiaseigen](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/tobiaseigen/32/539204_2.png) [@tobiaseigen](https://meta.discourse.org/u/tobiaseigen)\
**Post date:** [2017年十二月2日 17:29 UTC](https://meta.discourse.org/t/any-way-to-have-a-single-option-poll-with-just-one-option-to-choose-from/75246/3 "2017-12-02T17:29:39Z")

</div>

good idea but I tried that. Just tried again right here but it complains when I save the post.

 ![11 AM](https://global.discourse-cdn.com/meta/original/3X/c/8/c8ea90ea6fecbb135e9e37c1df10e65180dd2c3b.png)

---

<div class="post-metadata">

**Author:** ![pfaffman](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/pfaffman/32/120154_2.png) [@pfaffman](https://meta.discourse.org/u/pfaffman)\
**Post date:** [2017年十二月2日 18:29 UTC](https://meta.discourse.org/t/any-way-to-have-a-single-option-poll-with-just-one-option-to-choose-from/75246/4 "2017-12-02T18:29:04Z")

</div>

make both options “yes”. 🙂

---

<div class="post-metadata">

**Author:** ![Mittineague](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/mittineague/32/114259_2.png) [@Mittineague](https://meta.discourse.org/u/Mittineague)\
**Post date:** [2017年十二月2日 19:07 UTC](https://meta.discourse.org/t/any-way-to-have-a-single-option-poll-with-just-one-option-to-choose-from/75246/5 "2017-12-02T19:07:28Z")

</div>

I was thinking that instead of using a poll as a checkbox maybe the checklist plugin could do what you need

> [@Discourse Checklist](https://meta.discourse.org/t/checklist-plugin-interactive-checkboxes-made-simple/36362):
>
> discourse2Summary Discourse Checklist allows checkboxes to be added to posts with simple Markdownopen_bookInstall Guide This plugin is bundled with Discourse core. There is no need to install the plugin separately. Enabling Checklist The Checklist plugin is enabled by default but can be disabled/enabled from its settings, accessed from your admin/plugins page: [Checklist settings] Features Once enabled, you can add checklists to your posts by typing them in like this: …

But AFAICT, it won’t.

Maybe make a “no” option and then use CSS to `display: none` it?

Then there will likely be a “100%” showing, so it feels like this is getting into new plugin territory to me.

---

<div class="post-metadata">

**Author:** ![notriddle](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/notriddle/32/133055_2.png) [@notriddle](https://meta.discourse.org/u/notriddle)\
**Post date:** [2017年十二月2日 19:51 UTC](https://meta.discourse.org/t/any-way-to-have-a-single-option-poll-with-just-one-option-to-choose-from/75246/6 "2017-12-02T19:51:43Z")

</div>

How about “Like this post if you’re going to be there ❤!”

---

<div class="post-metadata">

**Author:** ![pfaffman](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/pfaffman/32/120154_2.png) [@pfaffman](https://meta.discourse.org/u/pfaffman)\
**Post date:** [2017年十二月2日 20:25 UTC](https://meta.discourse.org/t/any-way-to-have-a-single-option-poll-with-just-one-option-to-choose-from/75246/7 "2017-12-02T20:25:30Z")

</div>

But you can’t un-like to say you won’t, which I think is probably also a problem with a poll.

Another solution is a wiki, maybe.

---

<div class="post-metadata">

**Author:** ![notriddle](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/notriddle/32/133055_2.png) [@notriddle](https://meta.discourse.org/u/notriddle)\
**Post date:** [2017年十二月2日 20:50 UTC](https://meta.discourse.org/t/any-way-to-have-a-single-option-poll-with-just-one-option-to-choose-from/75246/8 "2017-12-02T20:50:05Z")

</div>

@tobiaseigen if you want two options, instead of one, then a poll already works.

---

<div class="post-metadata">

**Author:** ![tobiaseigen](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/tobiaseigen/32/539204_2.png) [@tobiaseigen](https://meta.discourse.org/u/tobiaseigen)\
**Post date:** [2017年十二月4日 14:28 UTC](https://meta.discourse.org/t/any-way-to-have-a-single-option-poll-with-just-one-option-to-choose-from/75246/9 "2017-12-04T14:28:37Z")

</div>

Thanks, all! Really appreciate all the suggestions.

In the end, I decided to just bag the poll in this case. Interestingly, I got a handful of likes already to the topic without even asking for it, so people seem enthusiastic and are showing it. 🚀

I do think that down the road it might be of value to allow one option to choose from, but it’s not a high priority for me. Perhaps someone else wants to make it possible at some stage. The 100% showing issue seems to be the only potential snag, beyond the UX tweaks that would be needed.

> [@Mittineague](#):
>
> Then there will likely be a “100%” showing, so it feels like this is getting into new plugin territory to me.

---

<div class="post-metadata">

**Author:** ![system](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/system/32/443519_2.png) [@system](https://meta.discourse.org/u/system)\
**Post date:** [2020年二月3日 19:56 UTC](https://meta.discourse.org/t/any-way-to-have-a-single-option-poll-with-just-one-option-to-choose-from/75246/10 "2020-02-03T19:56:49Z")

</div>



---

<div class="post-metadata">

**Author:** ![codinghorror](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/codinghorror/32/110067_2.png) [@codinghorror](https://meta.discourse.org/u/codinghorror)\
**Post date:** [2020年二月4日 01:09 UTC](https://meta.discourse.org/t/any-way-to-have-a-single-option-poll-with-just-one-option-to-choose-from/75246/11 "2020-02-04T01:09:53Z")

</div>

🤔 是否只允许一个投票选项 @sam @eviltrout？我想这应该没问题吧？

---

<div class="post-metadata">

**Author:** ![sam](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/sam/32/102149_2.png) [@sam](https://meta.discourse.org/u/sam)\
**Post date:** [2020年二月4日 01:15 UTC](https://meta.discourse.org/t/any-way-to-have-a-single-option-poll-with-just-one-option-to-choose-from/75246/12 "2020-02-04T01:15:53Z")

</div>

是的，我同意，针对这个特定用例，这样做是合理的。

---

<div class="post-metadata">

**Author:** ![codinghorror](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/codinghorror/32/110067_2.png) [@codinghorror](https://meta.discourse.org/u/codinghorror)\
**Post date:** [2020年二月4日 01:16 UTC](https://meta.discourse.org/t/any-way-to-have-a-single-option-poll-with-just-one-option-to-choose-from/75246/13 "2020-02-04T01:16:29Z")

</div>

好的 @eviltrout，我假设这个限制很容易放宽，所以你可以分配它吗？

---

<div class="post-metadata">

**Author:** ![Remah](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/remah/32/70590_2.png) [@Remah](https://meta.discourse.org/u/Remah)\
**Post date:** [2020年二月4日 09:39 UTC](https://meta.discourse.org/t/any-way-to-have-a-single-option-poll-with-just-one-option-to-choose-from/75246/14 "2020-02-04T09:39:17Z")

</div>

原始问题可以像任何其他需要统计人数的 RSVP 一样解决。通常，了解还有哪些人本想来参加是有价值的。

_Poll ([view on site](https://meta.discourse.org/t/any-way-to-have-a-single-option-poll-with-just-one-option-to-choose-from/75246/14))_

编辑：我现在明白了。显示统计结果会很有用。

再次编辑：我想，单个投票选项会让自动化变得更简单，因为只有一个结果。

---

<div class="post-metadata">

**Author:** ![markvanlan](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/markvanlan/32/160087_2.png) [@markvanlan](https://meta.discourse.org/u/markvanlan)\
**Post date:** [2020年二月4日 16:33 UTC](https://meta.discourse.org/t/any-way-to-have-a-single-option-poll-with-just-one-option-to-choose-from/75246/17 "2020-02-04T16:33:45Z")

</div>

为投票仅允许一个选项非常简单。不过，我们需要添加一个“清除投票”按钮。

通常情况下，其他投票不会出现这个问题，因为选项涵盖了所有可能的答案。而只有一个选项时，目前无法取消投票。

我们是否应该在每个投票中都显示“清除我的投票”按钮？

---

<div class="post-metadata">

**Author:** ![codinghorror](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/codinghorror/32/110067_2.png) [@codinghorror](https://meta.discourse.org/u/codinghorror)\
**Post date:** [2020年二月4日 17:12 UTC](https://meta.discourse.org/t/any-way-to-have-a-single-option-poll-with-just-one-option-to-choose-from/75246/18 "2020-02-04T17:12:26Z")

</div>

不，暂时忽略这一点。如果你设置的是单选投票，则无法撤销投票。情况就是这样。

---

<div class="post-metadata">

**Author:** ![markvanlan](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/markvanlan/32/160087_2.png) [@markvanlan](https://meta.discourse.org/u/markvanlan)\
**Post date:** [2020年二月5日 14:04 UTC](https://meta.discourse.org/t/any-way-to-have-a-single-option-poll-with-just-one-option-to-choose-from/75246/19 "2020-02-05T14:04:53Z")

</div>

我刚合并了一个 [PR](https://github.com/discourse/discourse/pull/8853)，现在支持单选投票了 🎉

---

<div class="post-metadata">

**Author:** ![sam](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/sam/32/102149_2.png) [@sam](https://meta.discourse.org/u/sam)\
**Post date:** [2020年二月5日 22:37 UTC](https://meta.discourse.org/t/any-way-to-have-a-single-option-poll-with-just-one-option-to-choose-from/75246/20 "2020-02-05T22:37:47Z")

</div>

_Poll ([view on site](https://meta.discourse.org/t/any-way-to-have-a-single-option-poll-with-just-one-option-to-choose-from/75246/20))_

---

<div class="post-metadata">

**Author:** ![sam](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/sam/32/102149_2.png) [@sam](https://meta.discourse.org/u/sam)\
**Post date:** [2020年二月5日 22:37 UTC](https://meta.discourse.org/t/any-way-to-have-a-single-option-poll-with-just-one-option-to-choose-from/75246/21 "2020-02-05T22:37:57Z")

</div>


