# \[Pro\] Send Form Action overriding a widget

**URL:** <https://discourse.softpress.com/t/pro-send-form-action-overriding-a-widget/24540>\
**Category:** Freeway\
**Created:** [February 14, 2020, 11:17am UTC](https://discourse.softpress.com/t/pro-send-form-action-overriding-a-widget/24540 "2020-02-14T11:17:40Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![gavtro](https://discourse.softpress.com/letter_avatar_proxy/v4/letter/g/4bbf92/32.png) [@gavtro](https://discourse.softpress.com/u/gavtro)\
**Post date:** [February 14, 2020, 11:17am UTC](https://discourse.softpress.com/t/pro-send-form-action-overriding-a-widget/24540/1 "2020-02-14T11:17:40Z")

</div>

Hello

Have added a booking widget to my client’s holiday cottage website, but when you click on the ‘Check Availability’ button in the widget, which should take you to an external booking page, it just sends a blank email instead.

Presumably the Send Form Action is interfering with it. How can I get around it?

[http://test3.thebrandmill.net/contact.html](http://test3.thebrandmill.net/contact.html)

* * *

freewaytalk mailing list  
email@hidden  
Update your subscriptions at:

> **[Information for existing FreewayTalk / Groups.io users](https://discourse.softpress.com/t/information-for-existing-freewaytalk-groups-io-users/24891)**
>
> The purpose of this topic is to provide information about the migration from FreewayTalk and Groups io to Discourse and the differences in Discourse, as well as a place to discuss the good or bad of the migration. For those previously subscribing...

---

<div class="post-metadata">

**Author:** ![gavtro](https://discourse.softpress.com/letter_avatar_proxy/v4/letter/g/4bbf92/32.png) [@gavtro](https://discourse.softpress.com/u/gavtro)\
**Post date:** [February 17, 2020, 9:43am UTC](https://discourse.softpress.com/t/pro-send-form-action-overriding-a-widget/24540/2 "2020-02-17T09:43:37Z")

</div>

Any ideas?

* * *

freewaytalk mailing list  
email@hidden  
Update your subscriptions at:

> **[Information for existing FreewayTalk / Groups.io users](https://discourse.softpress.com/t/information-for-existing-freewaytalk-groups-io-users/24891)**
>
> The purpose of this topic is to provide information about the migration from FreewayTalk and Groups io to Discourse and the differences in Discourse, as well as a place to discuss the good or bad of the migration. For those previously subscribing...

---

<div class="post-metadata">

**Author:** ![waltd](https://discourse.softpress.com/user_avatar/discourse.softpress.com/waltd/32/2720_2.png) [@waltd](https://discourse.softpress.com/u/waltd)\
**Post date:** [February 17, 2020, 1:34pm UTC](https://discourse.softpress.com/t/pro-send-form-action-overriding-a-widget/24540/3 "2020-02-17T13:34:16Z")

</div>

The Send Form Action can be added to the page or to an element in the page. If you add it to an HTML element in the page, and ensure that all of your form elements are nested inside that element (inline construction or nested positioned elements), then the form will be isolated from the page. If you apply the Send Form Action to the page, the form tag will be written as the first child of the body – outside of any other HTML tag in the rest of the page, which means that your “widget” form is now nested inside another form, and will never work correctly. (Forms cannot themselves be children of another form.)

Walter

> On Feb 14, 2020, at 6:17 AM, gavtro [email@hidden](mailto:email@hidden) wrote:
> 
> Hello
> 
> Have added a booking widget to my client’s holiday cottage website, but when you click on the ‘Check Availability’ button in the widget, which should take you to an external booking page, it just sends a blank email instead.
> 
> Presumably the Send Form Action is interfering with it. How can I get around it?
> 
> [Contact | Plymouth Defence Solicitors](http://test3.thebrandmill.net/contact.html)
> 
> * * *
> 
> freewaytalk mailing list  
> email@hidden  
> Update your subscriptions at:  
> [Information for existing FreewayTalk / Groups.io users - Site Feedback - Softpress Talk](https://freewaytalk.softpress.com/person/options)

* * *

freewaytalk mailing list  
email@hidden  
Update your subscriptions at:  
[https://freewaytalk.softpress.com/person/options](https://freewaytalk.softpress.com/person/options)

---

<div class="post-metadata">

**Author:** ![gavtro](https://discourse.softpress.com/letter_avatar_proxy/v4/letter/g/4bbf92/32.png) [@gavtro](https://discourse.softpress.com/u/gavtro)\
**Post date:** [February 17, 2020, 4:17pm UTC](https://discourse.softpress.com/t/pro-send-form-action-overriding-a-widget/24540/4 "2020-02-17T16:17:38Z")

</div>

Of course! Knew it would be something glaringly obvious!

Thanks, Walter.

* * *

freewaytalk mailing list  
email@hidden  
Update your subscriptions at:

> **[Information for existing FreewayTalk / Groups.io users](https://discourse.softpress.com/t/information-for-existing-freewaytalk-groups-io-users/24891)**
>
> The purpose of this topic is to provide information about the migration from FreewayTalk and Groups io to Discourse and the differences in Discourse, as well as a place to discuss the good or bad of the migration. For those previously subscribing...
