- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-27-2025 02:13 AM
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
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-27-2025 02:48 AM
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-27-2025 02:33 AM
You can't dynamically show help text.
You can, however, use fieldmessages to show one message if value in other field is x and another one if it's y.
Both UI policies and Client scripts can help you show the field messages.
Please mark any helpful or correct solutions as such. That helps others find their solutions.
Mark
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-27-2025 02:48 AM
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-27-2025 03:55 AM
and how to add hyperlink?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-27-2025 03:59 AM
- You cannot populate link using g_form.showfieldmsg().
- The g_form.showFieldMsg() method is primarily used to display messages (such as error, warning, or informational messages) below a field.
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