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

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?

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

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

11 AM

make both options “yes”. :slight_smile:

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

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.

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

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.

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

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. :rocket:

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.

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

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

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

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

  • 是的,我参加!周五见!:rocket:
  • 不,很遗憾,我无法参加!:sob:
0 voters

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

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

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

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

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

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

我刚合并了一个 PR,现在支持单选投票了 :tada:

  • 看起来不错 :heart: :heart: :heart:
0 voters