Hi Guys,
I have a JSM request form with a custom field called Request Type & has multiple options, if the users select a specific option, a help text appears for field Request Type to redirect users to specific url & I am using scriptrunner to achieve this.
RequestType.setHelpText("Please go to portal link. <a href='https://abcdef.com/'>Link</a>")
Help text appears correct along with the link, but the problem with this approach is the link opens in the request form itself rather than opening in the new window.
Can someone please help understand what's wrong with it ?
Thanks!
Hi @Vishal, have you tried adding the target attribute to your help text? Try this:
<a href=\"https://xxxxx.com/\" target=\"_blank\">Link</a>
Hi @Ivan Lima perfect, thanks a lot, that worked out like charm. :)
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.