Text BOLD

Joshuu
Kilo Sage

Hi All,

This is an UI Policy script. 

find_real_file.png

I want to make the text KB article as BOLD. How can I do that?

Can anyone suggest.

Thanks,

Priya.

1 ACCEPTED SOLUTION

Chetan1
Tera Expert

Hi @priyarao 

This isn't possible with a javascript alert since they don't accept any HTML input.

Note:- to make text bold is really a requirement, then Try writing a UI Page and call it in the place of the alert.You can make them BOLD(give what ever styles you want to give)

Hope this help.

View solution in original post

8 REPLIES 8

Jason C
Kilo Explorer

Hi Priyarao,

As far as I'm aware there is no way to make the text bold in an alert box.

How to get Text BOLD in Alert or Confirm box? - Stackoverflow

Maybe you can try a different type of alert?

Scripting alert, info, and error messages - SN Docs

 

Regards,

Jason

Thanks for the info Jason 🙂

Sanjay Bagri1
Tera Guru

Hi ,

This isn't possible with a javascript alert since they don't accept any HTML input.

The alert() dialog is not rendered in HTML, and thus the HTML you have embedded is meaningless.

Please mark as correct and helpful.

Thanks 

Sanjay 

Sajilal
Mega Sage

Instead of alert, go for Error message maybe and you can even include the hyperlink of the KB Article itself in the message?

Mark Correct if this solves your issue and also mark 👍 Helpful if it helps resolve your problem

Thanks,
Saji