# Copy url to clipboard

**URL:** <https://forum.bubble.io/t/copy-url-to-clipboard/43029>\
**Category:** Plugins\
**Created:** [November 22, 2018, 9:02am UTC](https://forum.bubble.io/t/copy-url-to-clipboard/43029 "2018-11-22T09:02:10Z")\
**Posts on this page:** 12\
**Page:** 1

<div class="post-metadata">

**Author:** ![cardelli.alessandro](https://avatars.discourse-cdn.com/v4/letter/c/f08c70/32.png) [@cardelli.alessandro](https://forum.bubble.io/u/cardelli.alessandro)\
**Post date:** [November 22, 2018, 9:02am UTC](https://forum.bubble.io/t/copy-url-to-clipboard/43029/1 "2018-11-22T09:02:10Z")

</div>

Hey everyone, I’m new to Bubble

In my app I’ve a Link element that have conditions for it’s url propriety so that it changes based on user imput on an imput form.

I have a button that acitivate Air Copy to Clipboard plugin to copy the url propriety of the Link element, but problem is in the field “Text to copy” of the plugin I can’t choose the url of the Link element.  
The link element is not among those selectable.

What am I missing?  
How can I get this result?

---

<div class="post-metadata">

**Author:** ![max79268](https://sea1.discourse-cdn.com/bubble/user_avatar/forum.bubble.io/max79268/32/32144_2.png) [@max79268](https://forum.bubble.io/u/max79268)\
**Post date:** [November 22, 2018, 1:13pm UTC](https://forum.bubble.io/t/copy-url-to-clipboard/43029/2 "2018-11-22T13:13:07Z")

</div>

Why dont you just copy from the input form instead? or store the link inside of a custom state.

---

<div class="post-metadata">

**Author:** ![cardelli.alessandro](https://avatars.discourse-cdn.com/v4/letter/c/f08c70/32.png) [@cardelli.alessandro](https://forum.bubble.io/u/cardelli.alessandro)\
**Post date:** [November 22, 2018, 1:26pm UTC](https://forum.bubble.io/t/copy-url-to-clipboard/43029/3 "2018-11-22T13:26:41Z")

</div>

I don’t copy from the imput because in the input I put a code and based on the format of the code the resulting url changes.  
I’ve done this with condionals for the link elements, but there are no conditionals for the plugin.

How can I store the link inside a custom state?

---

<div class="post-metadata">

**Author:** ![max79268](https://sea1.discourse-cdn.com/bubble/user_avatar/forum.bubble.io/max79268/32/32144_2.png) [@max79268](https://forum.bubble.io/u/max79268)\
**Post date:** [November 22, 2018, 1:53pm UTC](https://forum.bubble.io/t/copy-url-to-clipboard/43029/4 "2018-11-22T13:53:28Z")

</div>

click the bottom link i sent you. it recorded a screencast showing how.

---

<div class="post-metadata">

**Author:** ![cardelli.alessandro](https://avatars.discourse-cdn.com/v4/letter/c/f08c70/32.png) [@cardelli.alessandro](https://forum.bubble.io/u/cardelli.alessandro)\
**Post date:** [November 22, 2018, 2:12pm UTC](https://forum.bubble.io/t/copy-url-to-clipboard/43029/5 "2018-11-22T14:12:12Z")

</div>

Sorry but I don’t get it.

The actual url to be copied is only inside the LINK ELEMENT (url propriety).

If set my custom text to be equal to the user imput when it changes value, what I’ll get is custom text = code typed by the user  
And not the actual url.

---

<div class="post-metadata">

**Author:** ![cardelli.alessandro](https://avatars.discourse-cdn.com/v4/letter/c/f08c70/32.png) [@cardelli.alessandro](https://forum.bubble.io/u/cardelli.alessandro)\
**Post date:** [November 22, 2018, 3:30pm UTC](https://forum.bubble.io/t/copy-url-to-clipboard/43029/7 "2018-11-22T15:30:19Z")

</div>

Wait a minute, I’m asking for help and you say I’m trolling?

---

<div class="post-metadata">

**Author:** ![dan1](https://sea1.discourse-cdn.com/bubble/user_avatar/forum.bubble.io/dan1/32/23411_2.png) [@dan1](https://forum.bubble.io/u/dan1)\
**Post date:** [November 23, 2018, 7:20pm UTC](https://forum.bubble.io/t/copy-url-to-clipboard/43029/8 "2018-11-23T19:20:54Z")

</div>

@cardelli.alessandro hoping to get you to a resolution here. 🙂

Perhaps you can share a few screenshots of your setup? (Or feel free to PM a direct link to your app). Happy to take a closer look.

---

<div class="post-metadata">

**Author:** ![cardelli.alessandro](https://avatars.discourse-cdn.com/v4/letter/c/f08c70/32.png) [@cardelli.alessandro](https://forum.bubble.io/u/cardelli.alessandro)\
**Post date:** [December 12, 2018, 1:42pm UTC](https://forum.bubble.io/t/copy-url-to-clipboard/43029/9 "2018-12-12T13:42:09Z")

</div>

I solved this, thanks in anyway dan1!

---

<div class="post-metadata">

**Author:** ![debemghf](https://avatars.discourse-cdn.com/v4/letter/d/f475e1/32.png) [@debemghf](https://forum.bubble.io/u/debemghf)\
**Post date:** [February 15, 2019, 4:59pm UTC](https://forum.bubble.io/t/copy-url-to-clipboard/43029/10 "2019-02-15T16:59:30Z")

</div>

Hey, could you share your solution? I really need it too.

Thank you.

---

<div class="post-metadata">

**Author:** ![jeffmccutcheon](https://avatars.discourse-cdn.com/v4/letter/j/b5ac83/32.png) [@jeffmccutcheon](https://forum.bubble.io/u/jeffmccutcheon)\
**Post date:** [January 20, 2020, 6:16am UTC](https://forum.bubble.io/t/copy-url-to-clipboard/43029/11 "2020-01-20T06:16:56Z")

</div>

I have the same issue. I am not creating a URL from an input. (So I can’t copy the input)

I just want the user to have the option to copy the text from the Link element. I see no way to reference the text

---

<div class="post-metadata">

**Author:** ![jeffmccutcheon](https://avatars.discourse-cdn.com/v4/letter/j/b5ac83/32.png) [@jeffmccutcheon](https://forum.bubble.io/u/jeffmccutcheon)\
**Post date:** [January 20, 2020, 6:32am UTC](https://forum.bubble.io/t/copy-url-to-clipboard/43029/12 "2020-01-20T06:32:48Z")

</div>

i see the text option now. I will swear on my life it wasn’t there the previous 25 times I looked. 🙃

---

<div class="post-metadata">

**Author:** ![jeffmccutcheon](https://avatars.discourse-cdn.com/v4/letter/j/b5ac83/32.png) [@jeffmccutcheon](https://forum.bubble.io/u/jeffmccutcheon)\
**Post date:** [January 20, 2020, 6:52am UTC](https://forum.bubble.io/t/copy-url-to-clipboard/43029/13 "2020-01-20T06:52:35Z")

</div>

apparently that doesn’t work . Goodbye world.
