It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

How to create a dropdown list in a template?

I want to create a dropdown list in a template for a user to fill out.

This article from ancient times mentions, that Confluence is able to do this: https://confluence.atlassian.com/display/CONF42/Form+Field+Markup+for+Templates

In the current template editor I am not able to create a list or find documentation on how to do this. $VAR is working, but creates only a text field.

=> How do I create dropdowns (or radios or other specific fields) without using add-ons?

3 answers

1 accepted

3 votes
Answer accepted

Hi Christian,

while editing the template, click on the variable $VAR and you should get a pop-up with three different options, "Text", "Multiline Text", and "List". Choose "List" and type the options that you want to have for the dropdown list separated by commas. For example, you could write:

option 1,option 2,option 3

and then once you save you should have a dropdown list in your template where you can choose between option 1, option 2, and option 3.

Thanks - I hadn't thought of this as I'm an avid keyboard user.

Like Elisa Garcia likes this

Hello Stephen,

if i implement it like this, i can select the dropdown list value when creating the site.

When the page has been created, no dropdown list exists.

I want to have a dropdown list within a table?

Like # people like this

Hello,

Our Easy Dropdown Menu could be a solution for you. You can find it on the Marketplace.

Regards,
Stephan (CEO of EPS Software Engineering, the vendor of the Easy Dropdown Menu)

Hello Stephen, 

your suggestion worked limitedly for me. 

As soon as the page with the variable is published (out from Template wizard), I cant change the value any more. Is there any help/alternative for this?

Thanks in advance, 

greetings Anna

Like Kate Hanna likes this

Hi, I am trying to create drop downs in a template like you all are. I used HTML which worked well until a new form was created then instead of the drop down, you see the HTML code, which is won't work for the user. Is there a way we can hide the HTML code so the drop down only is shown.

Second option, do we need to create a form rather than a template? 

Any thoughts please, since our company will not allow us to install additional macros.

I created several List variables in a template:

Screen Shot 2019-11-21 at 12.01.01 pm.png

but when I go to create a page using the template, I get 'inlineExtension' instead of the drop-down:

Screen Shot 2019-11-21 at 12.04.29 pm.png 

(Using Confluence Cloud via Chrome on Mac, for what it's worth).

it is incredible you pay so much for a solution (cloud) that misses basic features like a dropdown in a template. #useless

SamDB I'm New Here Apr 29, 2020

I just used this article to create a dropdown in a template of my own in Confluence (cloud, version 6.15.4). The instructions to do so have changed a bit since this article was first posted, but the feature is available and works. 

How do you do this using the new editor in Cloud?

Like Tim.Durkin likes this

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Published in Confluence Cloud

What's New in Confluence Cloud – July 2020 Edition

Here’s another edition of “What’s New” this month in Confluence Cloud. Quickly (and more easily) adjust permission settings We know that sometimes the layers of space permissions and page restric...

6,138 views 11 30
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you