I am currently looking for an option to remove the 'none' value from radio buttons, without setting the field as required. Alternatively I am looking for a solution to make two checkboxes behave like radio buttons (two options: 'yes' OR 'no').
The second question I have is, whether it is possible to limit the number of selections in a multi select list? I have a multi select list with 10 options, but a user should only be allowed to select 2 options out of 10.
Ok, I found a way to transform two checkboxes into radio buttons, just in case somebody is interested:
Seems strange, but works for me...
You should really go back to doing it properly. Use the right sort of field with default and a mandatory flag.
If you don't offer "none", then how does a user set the value to "nothing"? With no "none", you might as well default it and make it mandatory.
You can't natively restrict the number of selections, you need a little bit of code in validators or possibly something on-screen to do it.
Mandatory drop-down = no 'none' option.
Non-mandatory drop-down = none option.
As far as the second part goes, try customizing the field description in the field configuration scheme to explain to the users that they should only select two options. Hopefully they all read and follow. ;)
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!
Unfortunately there are no AUG chapters near you at the moment.Start an AUG
We're bringing product updates and pro tips on teamwork to ten cities around the world.Save your spot