The CreatorCon Call for Content is officially open! Get started here.

Display helpText Dynamically

SHALIKAS
Tera Guru

I have 2 fields Select server having options as Application, database and infrastructure.

There is another field called Name.

The name field should only display helptext if application or database is selected.

Also the helptext is having a link in it. How to achieve this

1 ACCEPTED SOLUTION

Juhi Poddar
Kilo Patron
Kilo Patron

Hello @SHALIKAS 

Unfortunately, displaying help text dynamically is not possible.

Instead, we can use g_form.showFieldMsg() to achieve the desired result.

Refer the post from another thread: How to change dynamically the help text of a variable on a portal form?

Hope this helps!

 

"If you found my answer helpful, please like and mark it as an "accepted solution". It helps future readers to locate the solution easily and supports the community!"

 

Thank You
Juhi Poddar

 

View solution in original post

9 REPLIES 9

but here I want to display hyperlink, how to do that

@SHALIKAS 

Unfortunately it's not possible.

Juhi Poddar
Kilo Patron
Kilo Patron

@SHALIKAS 

Thank You for marking my response helpful.

Could you also please mark it as an accepted solution.

 

Thank You

Juhi Poddar

Runjay Patel
Giga Sage

Hi @SHALIKAS ,

 

I have provided to add hyperlink below any field on this thread: https://www.servicenow.com/community/developer-forum/how-to-add-hyperlink-in-showfieldmssg-inn-catal...

 

-------------------------------------------------------------------------

If you found my response helpful, please consider selecting "Accept as Solution" and marking it as "Helpful." This not only supports me but also benefits the community.


Regards
Runjay Patel - ServiceNow Solution Architect
YouTube: https://www.youtube.com/@RunjayP
LinkedIn: https://www.linkedin.com/in/runjay

-------------------------------------------------------------------------

In this video i have explained about Web service integration in ServiceNow like how it works, how we can configure it, what are the prerequisite and many more. I have covered below topics in this video. 1. understand Web Service. Like when and how we will use it. 2. Talked about Inbound and ...

Thank you for acknowledging my solution as helpful! The community now supports multiple accepted solutions, so you can accept more than one answer.