Forums

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

Field Description Colour (ScriptRunner)

Jason Galea
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.
August 27, 2018

Hi,

I am currently setting up a project with Field Description under many Custom fields.

By default, the scripted description is marked with the color red.

Is there a way I set set descriptions with a different color?

 

descField.setHelpText("Please explain why priority is Highest.")

1 answer

1 accepted

3 votes
Answer accepted
Mark Markov
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.
August 27, 2018

Hello @Jason Galea

You can do it like this 

getFieldById("summary").setHelpText("<font color=\"blue\">Some help text</font>")

 

Jason Galea
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.
August 27, 2018

It works. Thanks a lot Mark

Tomas Arguinzones Yahoo
Contributor
October 5, 2020

Thanks Mark! It still works great. I was looking for the same thing.

 

Thanks a lot for posting!

Like Jason Galea likes this

Suggest an answer

Log in or Sign up to answer