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?

1 answer

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.

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 Pavel Chuyko likes 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.

Suggest an answer

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

Introducing Confluence Cloud and Jira Software Cloud Premium

Wherever you are in your team’s journey , our goal is to support your big ambitions. We’re a cloud-first company with the mission of unleashing the potential of every team, and to address the range ...

639 views 4 17
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