Provide a user with a drop down list to select from

Trying to have a field in a table, but want to limit users to pre-defined choices. The goal is have better filtering of issues. Is there a way to do this?

2 answers

This widget could not be displayed.

You should be able to add HTML to a confluence page depending on what version you are using. It could look something like this:

<select>
<option value="volvo">Volvo</option>
<option value="saab">Saab</option>
<option value="mercedes">Mercedes</option>
<option value="audi">Audi</option>
</select>

Luther,

Thanks for this. I've tried it and it works. However, when you navigate away from the page and then re-open it, the option you selected reverts back to the option that is first in the list. Which makes it not very useful.

Do you have any idea why this is happening and how to stop it? I've added it using the HTML plugin (and direclty into the page's HTML). It works with the plugin.

Cheers.

This widget could not be displayed.

It happens because HTML is stateless, unless you make it stateful (either with cookies or query string params or some other mechanism).

Thanks Matthew.

Suggest an answer

Log in or Sign up to answer
Community showcase
Posted Sep 17, 2018 in Confluence

Why start from scratch? Introducing four new templates for Confluence Cloud

Hi my Community friends!  For those who don't know me, I'm a product marketer on the Confluence Cloud team - nice to meet you! For those of you who do, you know that I've been all up in your Co...

543 views 7 6
Join discussion

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you