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

Add copy button in info message on form

Hardik Panchal
Mega Guru

Hello All,

We have a requirement to add a copy button in the info message that can copy the content of the info message.(refer screenshot)
Please help.

Thanks.

HardikPanchal_0-1737006541741.png

3 REPLIES 3

Ankur Bawiskar
Tera Patron
Tera Patron

@Hardik Panchal 

it's a form message, so you can add html link there.

Not sure about button

What should happen when that button/link is clicked? the message has to be copied and then what next?

If my response helped please mark it correct and close the thread so that it benefits future readers.

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

@Ankur Bawiskar 

When the button is clicked, it should copy the contents of info message to clipboard.

@Hardik Panchal 

check this

Create "Copy to clipboard" functionality on incident form. 

How to add "Copy Text" feature on a form. 

If my response helped please mark it correct and close the thread so that it benefits future readers.

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