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

1 answer

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
Posted in Confluence

How is your team having fun and bonding, remotely, utilizing Confluence?

Thanks everyone for answering last week’s question. The winner of the random drawing from those who commented is: @LarryBrock I’ll contact you separately with your prize details. This wee...

327 views 9 7
Join discussion

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