<p>You can control the URL that the browser sends form requests to using the <a href="https://developer.mozilla.org/en-US/docs/Web/HTML/Element/form#attr-action" rel="nofollow noreferrer"><code>action</code> attribute</a>. If you leave this attribute empty or don't include it at all, the request will just go to same page (URL) the form is on. But you can point it to an external URL as well:</p>
<pre class="lang-html prettyprint-override"><code>&lt;form method=&quot;POST&quot; action=&quot;https://example.com/path/to/form/submissions&quot;&gt;
    &lt;!-- … --&gt;
&lt;/form&gt;
</code></pre>

CC BY-SA 4.0
2022-02-25T10:26:02.250Z
2022-02-25T10:26:02.250Z
MoritzLost
<p>I'm building a form and would like to either have the &quot;submit&quot; button drive to an external URL, or to a page on my site that redirects to an external URL. I can't find a way to make this work. Is this possible?</p>

<freeform><plugin-amforms><plugin-expressforms>
Can the Return URL within forms link to an external url?
# Can the Return URL within forms link to an external url?

(Asked by: username_0 on 2022-02-24)

I'm building a form and would like to either have the "submit" button drive to an external URL, or to a page on my site that redirects to an external URL. I can't find a way to make this work. Is this possible?

**Tags:** freeform, plugin-amforms, plugin-expressforms


---

## 1 answers

### Answer by username_1 on 2022-02-25. Score: 2

You can control the URL that the browser sends form requests to using the action attribute. If you leave this attribute empty or don't include it at all, the request will just go to same page (URL) the form is on. But you can point it to an external URL as well:


---

