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,300,808
Community Members
 
Community Events
165
Community Groups

How to create a dropdown list in a template in cloud confluence?

I want to create a dropdown list in confluence template. Like mentioned here, https://confluence.atlassian.com/display/CONF42/Form+Field+Markup+for+Templates

Tried this, but when I do @VAR@ it doesn't shows any list option, but language option like html, javascript etc.

I tried to embed HTML code like this: https://confluence.atlassian.com/doc/html-macro-38273085.html

{html}
<div>
 <select name="Criticality">
 <option value="high">High</option>
 <option value="medium">Medium</option>
 <option value="low">Low</option>

</select>
</div>
{html}

but it shows it as html code.

I am using cloud version of confluence.

 

Any help would be highly appreciated.

3 answers

0 votes

Hi @Kris Luhr and @sumit ,

 I can suggest a workaround using Handy Status from Handy Macros for Confluence. You  can create dropdowns from custom status sets. They work well in templates. This solution works for any hosting type including Cloud. Please see the screenshot attached for details.

Handy Status in Page Template.jpg

We had this in Confluence before we moved to cloud, really miss this functionality

Hi @sumit , out of box you cannot do this , but there is another way with which you can pretty much achieve this, 

  1. Use a three row , table. 
  2. Now in each row , using the action point tick box give the selection option required
    (Blue , red , green) 
  3. Now go to add macros and select expand. 
  4. Once your expand is placed ready , cut the entire table and paste it inside the expand box. 
  5. Now rename the expand from " click to expand" to the desired question
    (Color required ?) . 
  6. Hope this way you can achieve what is required. 
  7. But Con's are this wont be a single select drop down. As user can tick on all three options. 
  8. Still might hold good , for some case. 

Regards
Haran

Suggest an answer

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

An update on Confluence Cloud customer feedback – June 2022

Hi everyone, We’re always looking at how to improve Confluence and customer feedback plays an important role in making sure we're investing in the areas that will bring the most value to the most c...

388 views 2 13
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