# How to create a poll in hidden text/spoiler tags?

**URL:** <https://forum.choiceofgames.com/t/how-to-create-a-poll-in-hidden-text-spoiler-tags/134704>\
**Category:** Meta\
**Tags:** poll, spoilers, hidden\_text\
**Created:** [March 29, 2023, 3:36pm UTC](https://forum.choiceofgames.com/t/how-to-create-a-poll-in-hidden-text-spoiler-tags/134704 "2023-03-29T15:36:09Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Snowflower](https://sea3.discourse-cdn.com/choiceofgames/user_avatar/forum.choiceofgames.com/snowflower/32/83909_2.png) [@Snowflower](https://forum.choiceofgames.com/u/Snowflower)\
**Post date:** [March 29, 2023, 3:36pm UTC](https://forum.choiceofgames.com/t/how-to-create-a-poll-in-hidden-text-spoiler-tags/134704/1 "2023-03-29T15:36:09Z")

</div>

I’d like to create a poll on a discussion thread for a WIP that has been given a release date later this year whose public demo has therefore been reduced in size. However the discussion thread prior to the release confirmation contains extensive discussion of elements in later sections of the public alpha that were trimmed from the new demo. I would like to poll people that have played the public alpha on elements of the public alpha that are no longer visible to new readers (until the release date), but I would like to put my poll under spoilers or hidden text (so that newcomers are protected from spoilers). I am unsure how to put a poll in hidden text or spoilers. Could someone please help me with this?

---

<div class="post-metadata">

**Author:** ![Lan](https://sea3.discourse-cdn.com/choiceofgames/user_avatar/forum.choiceofgames.com/lan/32/80851_2.png) [@Lan](https://forum.choiceofgames.com/u/Lan)\
**Post date:** [March 30, 2023, 4:35am UTC](https://forum.choiceofgames.com/t/how-to-create-a-poll-in-hidden-text-spoiler-tags/134704/2 "2023-03-30T04:35:14Z")

</div>

You can place the poll inside a **Hide Details**.

> **Like so.**
>
> _Poll ([view on site](https://forum.choiceofgames.com/t/how-to-create-a-poll-in-hidden-text-spoiler-tags/134704/2))_

Note that you need to use the angular brackets version of the command, as the square brackets version (i.e., ` [details][/details]`) doesn’t allow nesting.

* * *

# Code

```choicescript
<details><summary>Like so.</summary>

[poll type=regular results=always chartType=bar]
# <big> **What is your favorite formatting effect?** </big><br>Most formatting commands can be used within polls. 
* **Bold**
* *Italics*
* [u]Underline[/u]
* [s]Strikethrough[/s]
* `Code`
* [spoiler]Spoiler[/spoiler] text
* <kbd>Keyboard</kbd>
* <big>Big</big>
* <small>Small</small>
* <sub>Sub</sub>script
* <sup>Super</sup>script
* [Link](https://www.choiceofgames.com)
* ![Image of Choice of Games Logo|75x75](https://www.choiceofgames.com/wp-content/uploads/2010/10/cog-simple-no-letters.png)
[/poll]

</details>

```

---

<div class="post-metadata">

**Author:** ![will](https://sea3.discourse-cdn.com/choiceofgames/user_avatar/forum.choiceofgames.com/will/32/132033_2.png) [@will](https://forum.choiceofgames.com/u/will)\
**Post date:** [March 30, 2023, 5:06am UTC](https://forum.choiceofgames.com/t/how-to-create-a-poll-in-hidden-text-spoiler-tags/134704/3 "2023-03-30T05:06:31Z")

</div>

> [@Lan](#):
>
> What is your favorite formatting effect?

# Big

---

<div class="post-metadata">

**Author:** ![Niki\_Christopherson](https://sea3.discourse-cdn.com/choiceofgames/user_avatar/forum.choiceofgames.com/niki_christopherson/32/207724_2.png) [@Niki\_Christopherson](https://forum.choiceofgames.com/u/Niki_Christopherson)\
**Post date:** [August 12, 2023, 7:45pm UTC](https://forum.choiceofgames.com/t/how-to-create-a-poll-in-hidden-text-spoiler-tags/134704/4 "2023-08-12T19:45:45Z")

</div>

Can I just say holy shit thank you for also giving us the code for LITERALLY EVERY OTHER KIND OF FORMATTING AT THE SAME TIME? that’s genius, bro. Good work.
