Streaming live at 10am (PST)

Can you copy an email to clipboard by clicking a button?


#1

I'm trying to figure out if I can have a user click on a button and it copy's my email to their clipboard so they can mail me instead of using a form...is this possible on webflow?


#2

Hey @Dustin_Ryan

I was looking to do the same thing a while ago and after a bit of searching through old bookmarks, looks like modern browsers do not allow copying to clipboard via javascript for secuirty reasons. There is a somewhat convoluted work around via Javascript through Flash... Not sure its a recommended solution though and in Webflow would require some custom code through the HTML element.

Would you not just want to create a form?


#3

Hey Tim,

Thanks for the reply!

I was 90% sure it wasn't doable, but thought why not put it out there...I'll go with the form.

Thanks :smile:


#4

This topic was automatically closed after 60 days. New replies are no longer allowed.


#5