Make a copy to clipboard button

I wanna make copy to clipboard button. to copy bank account number.

How to make it?

This would require running JS code on a form element.

There aren't any built in features to do this in Hype, so you would need to run JavaScript in Hype functions:

Sorry I'am not understand about article which you share. I am is not understand so much about coding. do you have an html or java script which I just copy?

Before I have this code from another web:

But it's not working.

this should enable copying without scripting, just add some data-attributes :slight_smile:

1 Like