How to open hyperlink in help text in new window

nicolemccray
Tera Expert

I have some HTML that inserts a hyperlink into my help text.   This is working as expected, but I would like to get it to open in a new window.   Currently opening in same window when clicked:

Note: A Contract Record Number (CRN) is six digits or less, is associated with a specific contract delivery or task order number. Please refer to the Contracts System to locate the <span style="text-decoration:underline; color: blue"><a   href="xxxxxxx"> Contract Record Number.</a> </span>

5 REPLIES 5

Anurag Tripathi
Mega Patron
Mega Patron

Hi Nicole,



Add the attribute target='_blank' in the anchor <a> tag



<span style="text-decoration:underline; color: blue"><a   href="https://issaic.saic.com/contractswork.nsf/search?OpenForm" target='_blank'> Contract Record Number.</a> </span>


-Anurag

Ankur Bawiskar
Tera Patron
Tera Patron

Hi Nicole,



Use the target='_blank' attribute in your anchor tag. Here is the updated html tag highlighted in bold.



<span style="text-decoration:underline; color: blue"><a href="https://issaic.saic.com/contractswork.nsf/search?OpenForm" target="_blank">Contract Record Number.</a></span>



Mark Correct if this solves your issue and also hit Like and Helpful if you find my response worthy based on the impact.


Thanks


Ankur


Regards,
Ankur
Certified Technical Architect  ||  9x ServiceNow MVP  ||  ServiceNow Community Leader

Mate how is that different from what i said??


-Anurag

Hi Anurag,



It's same but I did not see your comment since I opened the question, wrote the text but submitted it later on only to see that already someone has posted to it.



Regards


Ankur


Regards,
Ankur
Certified Technical Architect  ||  9x ServiceNow MVP  ||  ServiceNow Community Leader