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

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

Suggest an answer

Log in or Sign up to answer