Form Annotation Types: Text

sgp
Kilo Contributor

Hi ,

I am using Annotation field on the form. I have selected the Annotation Types as text.But the text is appearing the blue box.Is the any way remove the blue box.

If it is default by feature is possible to remove the background coloure using DOM manipulation.

find_real_file.png

find_real_file.png

5 REPLIES 5

Chuck Tomasi
Tera Patron

Hi SG,



Please don't resort to DOM manipulation. It is the #1 cause of upgrade issues (IMHO.) We change the DOM periodically (just look at screen shots from 2012) and suddenly people wonder why their client scripts don't work any more. As one of my coworkers like to say "Every time you use DOM manipulation, a puppy dies." Please use g_form methods whenever possible



In this case, annotation background color is what it is. There are no properties to change it. What is the business use case here, or are you just curious if it can be done? IMHO, the annotation would be difficult to read if you could not see the text.



You might want to try one of the other types like Line Separator or Section Separator


SaiRaviKiran Ak
Giga Guru

Hi,

 

You can achieve this by doing following steps:

Go to Configure > Form layout and click on "Annotation" . You will get Annotation details,there you have to select "selection Separator"

 

Please refer below screenshot:

Thanks,

Ravi

Community Alums
Not applicable

Hey Ravi,

That did not remove the blue box in my instance (NY), just made it a bigger black box with square corners.  Is this expected behavior or do you see something different?

Section Separator

find_real_file.png

I just learned about this - didn't know it was there until I went searching through the docs. The implication is that you can modify or create your own. Keep in mind that changes to existing annotations are system wide!

find_real_file.png

Administering form annotations | ServiceNow Docs

I'm going to try experimenting with them on an upcoming Community Live Stream video!