The Atlassian Community Forums are currently in read-only mode. We will be relaunching on a new platform on September 22 (read more here). We apologize for the extended downtime. For concerns or questions, please email communitymanagers@atlassian.com. See you on the other side, on the new Atlassian Community Forums! :)

×

Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

How to add colors to radio button options

Suchit Kharatmol
September 19, 2022

Hi Team,

How to add colors to radio button option. I tried <p style="color:#008000">GREEN</p> however it is displaying all the HTML content as a option.

Thank you,

Suchit

1 answer

1 accepted

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

3 votes
Answer accepted
Radek Dostál
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 Champions.
September 19, 2022

In 'General configuration' there is a setting called "Enable HTML in field descriptions and list item values" which has to be enabled first.

 

Although of course it goes without saying it's a "security concern" so you might want to think about enabling it globally.

Not sure about the p tag, probably would try span instead (I think p might throw formatting off), but I know this can be done I've created similar lists before, so it comes down to enabling javascript first in global settings.

Suchit Kharatmol
September 19, 2022

Hi Radek,

Enabling the "Enable HTML in field descriptions and list item values" in general configuration works.

Thank you so much!

Thank you,

Suchit

Like John Funk likes this