# "open link" on submit form is not working well

**URL:** https://community.glideapps.com/t/open-link-on-submit-form-is-not-working-well/47844
**Category:** Report a Bug
**Created:** [August 26, 2022, 4:10pm UTC](https://community.glideapps.com/t/open-link-on-submit-form-is-not-working-well/47844 "2022-08-26T16:10:59Z")
**Posts on this page:** 8
**Page:** 1

<div class="post-metadata">

### Author: ![Pedro\_Gondim](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/pedro_gondim/32/46872_2.png) [@Pedro\_Gondim](https://community.glideapps.com/u/Pedro_Gondim)
#### Post date: [August 26, 2022, 4:10pm UTC](https://community.glideapps.com/t/open-link-on-submit-form-is-not-working-well/47844/1 "2022-08-26T16:10:59Z")

</div>

Hello!

When I confirm to submit a new form, I have an URL leading to whatsapp.

On my desktop it works normaly, but when I do access it through my iphone, it doesn’t works, and not open my whatsapp app.

What am I doing wrong?

PS: I have some other buttons leading to whatsapp and all them works well on both devices.

 ![image](https://us1.discourse-cdn.com/flex002/uploads/glideapps/original/3X/6/4/649766423914e7539de5bcfdf5c7f4e4dc836594.png)

---

<div class="post-metadata">

### Author: ![ThinhDinh](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/thinhdinh/32/49_2.png) [@ThinhDinh](https://community.glideapps.com/u/ThinhDinh)
#### Post date: [August 27, 2022, 1:11am UTC](https://community.glideapps.com/t/open-link-on-submit-form-is-not-working-well/47844/2 "2022-08-27T01:11:35Z")

</div>

So it does not open any link at all?

I think the case here is the link might not be created in time for the action to work. I have found actions using on submit to fail intermittently when you rely on a value to be created after the form is submitted.

---

<div class="post-metadata">

### Author: ![Pedro\_Gondim](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/pedro_gondim/32/46872_2.png) [@Pedro\_Gondim](https://community.glideapps.com/u/Pedro_Gondim)
#### Post date: [August 27, 2022, 2:50pm UTC](https://community.glideapps.com/t/open-link-on-submit-form-is-not-working-well/47844/3 "2022-08-27T14:50:34Z")

</div>

But it works well on desktop. It only bugs on my iphone. ☹

---

<div class="post-metadata">

### Author: ![Pedro\_Gondim](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/pedro_gondim/32/46872_2.png) [@Pedro\_Gondim](https://community.glideapps.com/u/Pedro_Gondim)
#### Post date: [August 27, 2022, 4:51pm UTC](https://community.glideapps.com/t/open-link-on-submit-form-is-not-working-well/47844/4 "2022-08-27T16:51:11Z")

</div>

I just used the same link as a normal button, and it opens normaly, even on my iphone!

It only does not works if I try to use this link on “open link”, when I submitting a new form.

I have tried many links, like [www.facebook.com](http://www.facebook.com) for example, and it does not works, when submitting forms via my iphone. Works normaly on my desktop, but not on iphone.

---

<div class="post-metadata">

### Author: ![Jeff\_Hager](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/jeff_hager/32/43_2.png) [@Jeff\_Hager](https://community.glideapps.com/u/Jeff_Hager)
#### Post date: [August 27, 2022, 5:16pm UTC](https://community.glideapps.com/t/open-link-on-submit-form-is-not-working-well/47844/5 "2022-08-27T17:16:57Z")

</div>

I agree with what @ThinhDinh said. I am very hesitant to use any On Submit actions if they rely on the submitted data in some way. I’ve seen way to many reports of On Submit not always working correctly or working sporadically. Keep in mind that desktops have a lot more processing power and can probably process that new row much quicker than a phone can process it. I believe those On Submit actions are running synchronously, so if the row has not been completely created by the time the On Submit runs, then things may not work. I just avoid On Submit at all costs, unless I’m doing something simple like showing a notification.

So, I’ll ask this. Even when you try other links, is that link coming from the newly created row, or are you just hardcoding it into the Open Link action? If it’s just a hardcoded link, then maybe it’s not the problem I described above. Maybe it’s something with the form closing before the Open Link can execute. Maybe it’s browser or OS specific. Is your desktop a Mac, or Windows? Are you comparing Chrome to Safari?

Regardless, I’ve just never trusted On Submit.

---

<div class="post-metadata">

### Author: ![Pedro\_Gondim](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/pedro_gondim/32/46872_2.png) [@Pedro\_Gondim](https://community.glideapps.com/u/Pedro_Gondim)
#### Post date: [August 27, 2022, 6:33pm UTC](https://community.glideapps.com/t/open-link-on-submit-form-is-not-working-well/47844/6 "2022-08-27T18:33:22Z")

</div>

I used chrome/windows on both tests. At first atempt I’ve tried to open a link coming from the newly created row, but, after, just for testing, I tried to put “[www.facebook.com](http://www.facebook.com)” directly on the “open link”, not on the row, and it keeps malfunctioning.

Maybe you’re right saying that

> [@Jeff\_Hager](#):
>
> Maybe it’s something with the form closing before the Open Link can execute.

I just createad a brand new button using “Action Text” to press right after submitting the form. It’s not the ideal, but is working fine.

 ![image](https://us1.discourse-cdn.com/flex002/uploads/glideapps/original/3X/5/d/5d4470f349753b091aa2c5cfa2fb3b84d0b0404d.png)

---

<div class="post-metadata">

### Author: ![Jeff\_Hager](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/jeff_hager/32/43_2.png) [@Jeff\_Hager](https://community.glideapps.com/u/Jeff_Hager)
#### Post date: [August 27, 2022, 6:45pm UTC](https://community.glideapps.com/t/open-link-on-submit-form-is-not-working-well/47844/7 "2022-08-27T18:45:45Z")

</div>

I agree, It’s not ideal. I wish I had better answer for you, but it’s been a behavior that’s been around for quite a while, so I’m not sure if it’s something that Glide can fix it not. Many of us have asked for a ‘delay’ or ‘wait’ function with the hopes that it would take care of some of these weird issues, but no luck there.

---

<div class="post-metadata">

### Author: ![system](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/system/32/53398_2.png) [@system](https://community.glideapps.com/u/system)
#### Post date: [August 28, 2022, 6:46pm UTC](https://community.glideapps.com/t/open-link-on-submit-form-is-not-working-well/47844/8 "2022-08-28T18:46:42Z")

</div>

This topic was automatically closed 24 hours after the last reply. New replies are no longer allowed.
