Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

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

sumit October 22, 2019

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
Stiltsoft Support
Marketplace Partner
Marketplace Partners provide apps and integrations available on the Atlassian Marketplace that extend the power of Atlassian products.
April 26, 2022

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

0 votes
Kris Luhr April 26, 2022

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

0 votes
Haran Kumar
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
October 22, 2019

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
AUG Leaders

Atlassian Community Events