Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,296,555
Community Members
 
Community Events
165
Community Groups

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?

6 answers

1 accepted

4 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)

Like tokcum likes this

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.

@EPS Software Engineering AGi have been using Easy Dropdown Menu for couple of years now. However, the key feature that is missing is the capability to associate links (mostly websites) to the dropdown menu options.

Something similar to this:

<select name="forma">
 <option value="http://www.google.com">Google</option>
 <option value="http://www.amazon.com">Amazon</option>
 <option value="http://www.ecosia.com">Ecosia</option>
</select>
Like # people like this

Hi Ruben, 

Thank you so much for the message. 

We created a ticket on the 14th of August 2020 with the same request as you have above. We are most definitely looking at making this a functionality of Easy Dropdown Menu however, we do not have a specific release date as of yet. 

I would be able to keep you updated on our progress, if you would like, on this post. 

Kind regards, 
Geena Kolbé (geena.kolbe@eps.ch)

Marketing and Account Manager
EPS Software Engineering AG

Like # people like this

Hi Geena,

yes, i would like to know when the feature is available.
Thank you in advance.

Best regards,

Ruben

Like Geena Kolbé likes this

Thank you for your response, I will let you know once the feature is released.

Have a wonderful day! 

Geena

Like tokcum likes this

Hi Ruben, 

I have not forgotten about you, we are still working on the request and I have a reminder to check up once a month in order to revert back to you. 

Have a wonderful day!

Like Ruben Nuredini likes this

Hi @Geena Kolbé

I would also like to know when the new feature is available.

Thank you and best regards - Lena

Like Geena Kolbé likes this

Hi @Lena Carstensen

I will be sure to let you know. 

Have a wonderful day, 
Geena

Hi @Geena Kolbé

+1 for the interested users for the dropdown feature. 

Thanks, Sanjeev

Like Geena Kolbé likes this

@Geena Kolbé 

Hello,

are there any news about the use of drop-downs?

Thank you, Lena

Like Geena Kolbé likes this

Hi @Ruben Nuredini
@Lena Carstensen 

Unfortunately, Due to the cloud-first strategy announced by Atlassian (and adapted by us), we no longer have plans to add this feature in the foreseeable future. 

I hope you can find a plugin that suits your needs. 

Best regards, 
Geena

1 vote

Hello Community,

 

Our Handy Macros for Confluence can be a solution for this use case. You can create a template with Handy Statuses and/or Handy Dates. When users create a page from this template, they can choose one of the predefined custom values of a status (a kind of dropdown menu) or pick the date.

Screenshot 2022-02-20 at 22-44-43 Add Page - Alena Audziyenka - Confluence.png

Screenshot 2022-02-20 at 22-45-37 Add Page - Alena Audziyenka - Confluence.png

 

screenshot.PNG

Handy Status and Handy Date can also be switched in the page view mode after saving the page. It can increase your time efficiency.

Screenshot 2022-02-20 at 23-17-50 Page from the custom template in the page view mode - Alena Audziyenka - Confluence.png

Screenshot 2022-02-20 at 23-18-54 Page from the custom template in the page view mode - Alena Audziyenka - Confluence.png

Best regards,

Elena.

This is the most frustrating and annoying thing to not have the dropdown list feature? What kind of this form is that does not have a drop list... 

Get this right Atlassian.... I wont recommend anyone confluence without this  basic feature...

Be aware that you can't use "æ" "ø" and "å" in the variables.

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

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. 

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

Like # people like this

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).

Suggest an answer

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

Confluence: Where work and wellness meet

Feeling overwhelmed by the demands of work and life? With a 25% increase in the prevalence of anxiety and depression worldwide during the pandemic, for most of us, it’s a resounding yes . 🙋‍♀️ ...

1,033 views 18 28
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