# Form submission hanging on the please wait

**URL:** <https://forum.mautic.org/t/form-submission-hanging-on-the-please-wait/10439>\
**Category:** Product Support\
**Created:** [April 20, 2018, 5:00am UTC](https://forum.mautic.org/t/form-submission-hanging-on-the-please-wait/10439 "2018-04-20T05:00:55Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![pboisdenghien](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/pboisdenghien/32/1712_2.png) [@pboisdenghien](https://forum.mautic.org/u/pboisdenghien)\
**Post date:** [April 20, 2018, 5:00am UTC](https://forum.mautic.org/t/form-submission-hanging-on-the-please-wait/10439/1 "2018-04-20T05:00:55Z")

</div>

Last Mautic and Wordprss plugin version

-Form submission is working from the preview page  
-Please wait hanging when a for is submitted from the wordpress site

Please fin below the chrome console error

(index):1 Refused to display ‘[https://businessatwork.bitnamiapp.com/form/submit?formId=23](https://businessatwork.bitnamiapp.com/form/submit?formId=23)’ in a frame because it set ‘X-Frame-Options’ to ‘sameorigin’.

I find this patch who could help: [https://www.mautic.org/topic/please-wait-solution/](https://www.mautic.org/topic/please-wait-solution/)  
but the code is different !

Any idea ?

---

<div class="post-metadata">

**Author:** ![pboisdenghien](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/pboisdenghien/32/1712_2.png) [@pboisdenghien](https://forum.mautic.org/u/pboisdenghien)\
**Post date:** [April 25, 2018, 8:47am UTC](https://forum.mautic.org/t/form-submission-hanging-on-the-please-wait/10439/2 "2018-04-25T08:47:59Z")

</div>

Thank’s

problem solved, i made the following changes

\<IfModule headers\_module\>  
\<IfVersion \>= 2.4.7 \>  
#Header always setifempty X-Frame-Options SAMEORIGIN  
Header always setifempty X-Frame-Options “ALLOW-FROM [https://businessatwork.bitnamiapp.com/](https://businessatwork.bitnamiapp.com/)”  
\</IfVersion\>  
\<IfVersion \< 2.4.7 \>  
#Header always merge X-Frame-Options SAMEORIGIN  
Header always merge X-Frame-Options “ALLOW-FROM [https://businessatwork.bitnamiapp.com/](https://businessatwork.bitnamiapp.com/)”

```
&lt;/IfVersion&gt;
RequestHeader unset Proxy

```

\</IfModule\>
