# The form says "please wait" and stays like that all the time

**URL:** <https://forum.mautic.org/t/the-form-says-please-wait-and-stays-like-that-all-the-time/18906>\
**Category:** Product Support\
**Created:** [April 8, 2021, 12:55am UTC](https://forum.mautic.org/t/the-form-says-please-wait-and-stays-like-that-all-the-time/18906 "2021-04-08T00:55:49Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![succes33](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/succes33/32/2867_2.png) [@succes33](https://forum.mautic.org/u/succes33)\
**Post date:** [April 8, 2021, 12:55am UTC](https://forum.mautic.org/t/the-form-says-please-wait-and-stays-like-that-all-the-time/18906/1 "2021-04-08T00:55:49Z")

</div>

**Your software**  
My Mautic version is: 3.3.2  
My PHP version is: 7.3.26  
My Database type and version is: 10.2.36-MariaDB

**Your problem**  
My problem is:  
Hello, I have a problem. It would be appreciated if someone could help me.  
When submitting the form that is embedded in my website, it says “please wait” and stays like that all the time and does not jump to the thank you page or custom message. But the information does arrive, that is, the data enters Mautic, but it seems that the form has remained in “please wait”.  
I see no error and no notification.

Thanks for your help

These errors are showing in the log: NO

---

<div class="post-metadata">

**Author:** ![patrickeidemiller](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/patrickeidemiller/32/511_2.png) [@patrickeidemiller](https://forum.mautic.org/u/patrickeidemiller)\
**Post date:** [April 8, 2021, 3:56am UTC](https://forum.mautic.org/t/the-form-says-please-wait-and-stays-like-that-all-the-time/18906/2 "2021-04-08T03:56:54Z")

</div>

Hi, I’ve run into the same issue and had to make a change to the .htaccess file in Mautic root by adding:

Header always unset X-Frame-Options

You’ll need to update the .htaccess file after every Mautic upgrade as it gets overwritten during the upgrade process.

---

<div class="post-metadata">

**Author:** ![pehcastro](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/pehcastro/32/4702_2.png) [@pehcastro](https://forum.mautic.org/u/pehcastro)\
**Post date:** [April 8, 2021, 4:48am UTC](https://forum.mautic.org/t/the-form-says-please-wait-and-stays-like-that-all-the-time/18906/3 "2021-04-08T04:48:10Z")

</div>

did you check if you got some errors in the developer console (CTRL + SHIFT + I)? in my case the console triggers the form field name causing the send error by an incorrect input.

I’ve got a similar issue with the form field “URL” and changed it for text to fix.

---

<div class="post-metadata">

**Author:** ![succes33](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/succes33/32/2867_2.png) [@succes33](https://forum.mautic.org/u/succes33)\
**Post date:** [April 8, 2021, 1:52pm UTC](https://forum.mautic.org/t/the-form-says-please-wait-and-stays-like-that-all-the-time/18906/5 "2021-04-08T13:52:17Z")

</div>

Ok, I’ll look into it and try and see if that resolves it. Although this was happening before I upgraded. I also thought that upgrading would resolve this. But it hasn’t.  
I will now try the solution you are telling me. Thanks

One question, do you add this : Header always unset X-Frame-Options in the .htaccess file , do you add it at the end of the file but before or outside this tag, at the end of the whole.

---

<div class="post-metadata">

**Author:** ![patrickeidemiller](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/patrickeidemiller/32/511_2.png) [@patrickeidemiller](https://forum.mautic.org/u/patrickeidemiller)\
**Post date:** [April 8, 2021, 3:05pm UTC](https://forum.mautic.org/t/the-form-says-please-wait-and-stays-like-that-all-the-time/18906/6 "2021-04-08T15:05:14Z")

</div>

Like this at the end

 ![SS 2021-04-08 at 8.04.41 AM](https://us1.discourse-cdn.com/flex020/uploads/mautic/original/2X/7/71e18f0669495177254c3161749b401a1a28858a.png)

---

<div class="post-metadata">

**Author:** ![succes33](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/succes33/32/2867_2.png) [@succes33](https://forum.mautic.org/u/succes33)\
**Post date:** [April 8, 2021, 3:25pm UTC](https://forum.mautic.org/t/the-form-says-please-wait-and-stays-like-that-all-the-time/18906/7 "2021-04-08T15:25:36Z")

</div>

ok. Thank you very much.  
That’s where I put it, but it’s still the same. The information is received, but it still says “please wait”.

---

<div class="post-metadata">

**Author:** ![patrickeidemiller](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/patrickeidemiller/32/511_2.png) [@patrickeidemiller](https://forum.mautic.org/u/patrickeidemiller)\
**Post date:** [April 8, 2021, 3:29pm UTC](https://forum.mautic.org/t/the-form-says-please-wait-and-stays-like-that-all-the-time/18906/8 "2021-04-08T15:29:46Z")

</div>

For me, this was related to cross domain scripting. My mautic instance is on domain a, but the forms are faced publicly on domain b and c.

You host may have security settings that trump the .htaccess in the mautic root.

---

<div class="post-metadata">

**Author:** ![sfahrenkrog1](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/sfahrenkrog1/32/4583_2.png) [@sfahrenkrog1](https://forum.mautic.org/u/sfahrenkrog1)\
**Post date:** [April 14, 2021, 7:52am UTC](https://forum.mautic.org/t/the-form-says-please-wait-and-stays-like-that-all-the-time/18906/9 "2021-04-14T07:52:07Z")

</div>

@succes33 Hi! You should check the browser developer console (CORS Errors + Javascript Errors) and the developer network tab (check the outgoing request to your mautic installation and take a look inside if there are errors).

You could also debug the mautic form javascript with your browser and set breakpoints in the code and see where it stucks.

Some common errors are:

1. Your mautic installation is on a different domain and you get cors errors
2. you got a javascript error in your homepage which somehow interrupts the process
3. the mautic reply got an error
4. the mtc script embedded in your page got a different domain than your mautic form

If you send me the url from the page with the embedded url I could take a look and give you feedback

Greetings  
Sebastian

---

<div class="post-metadata">

**Author:** ![succes33](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/succes33/32/2867_2.png) [@succes33](https://forum.mautic.org/u/succes33)\
**Post date:** [April 24, 2021, 7:27pm UTC](https://forum.mautic.org/t/the-form-says-please-wait-and-stays-like-that-all-the-time/18906/10 "2021-04-24T19:27:51Z")

</div>

![2021-04-24_17-27-35](https://us1.discourse-cdn.com/flex020/uploads/mautic/original/2X/1/1dc21095b77f3b6ecd92170076bbe156c65bc167.png)

This is what my console says but I don’t know how to interpret it.  
This is a form that is placed on a website of mine.  
I have been using Mutic for a long time and this has never happened before, without the need to configure Cors, I have always kept the same configuration of Mautic, I have just been updating it to the stable versions.

---

<div class="post-metadata">

**Author:** ![sfahrenkrog1](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/sfahrenkrog1/32/4583_2.png) [@sfahrenkrog1](https://forum.mautic.org/u/sfahrenkrog1)\
**Post date:** [April 26, 2021, 6:01am UTC](https://forum.mautic.org/t/the-form-says-please-wait-and-stays-like-that-all-the-time/18906/11 "2021-04-26T06:01:42Z")

</div>

@succes33 If you want you could send me the webseite url with the form via pm and i take a look.

If mautic sends the mail but does not update the button text, it is in most cases a javascript error which interrupts the further processing or a CORS problem.

But you need to debug the forms javascript step by step to see this.

---

<div class="post-metadata">

**Author:** ![succes33](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/succes33/32/2867_2.png) [@succes33](https://forum.mautic.org/u/succes33)\
**Post date:** [April 27, 2021, 10:20am UTC](https://forum.mautic.org/t/the-form-says-please-wait-and-stays-like-that-all-the-time/18906/12 "2021-04-27T10:20:42Z")

</div>

Hello Sebastian.  
Thank you very much. Yes the domain of my mautic is different from the one of the site. But this has never caused me problems before.

This is the page where the form is: [Creando tu escuela Copia – Academia de Consultores Expertos del Ser](https://aces.expertosdelser.com/creando-tu-escuela-copia/)

Thank you very much for your attention  
Best regards

---

<div class="post-metadata">

**Author:** ![joeyk](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/joeyk/32/11164_2.png) [@joeyk](https://forum.mautic.org/u/joeyk)\
**Post date:** [April 27, 2021, 10:22am UTC](https://forum.mautic.org/t/the-form-says-please-wait-and-stays-like-that-all-the-time/18906/13 "2021-04-27T10:22:02Z")

</div>

When you upgrade from Mautic 2.16 to 3.2 your Cors settings will be turned on - no matter what.  
Could have been the reason why suddenly it failed.  
Joey

---

<div class="post-metadata">

**Author:** ![sfahrenkrog1](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/sfahrenkrog1/32/4583_2.png) [@sfahrenkrog1](https://forum.mautic.org/u/sfahrenkrog1)\
**Post date:** [April 27, 2021, 11:51am UTC](https://forum.mautic.org/t/the-form-says-please-wait-and-stays-like-that-all-the-time/18906/14 "2021-04-27T11:51:37Z")

</div>

Hi Success

Your Mautic form submit goes to:  
[https://conzascrm.com/form/submit?formId=9](https://conzascrm.com/form/submit?formId=9)

The error is this one here:  
Refused to display ‘[https://conzascrm.com/](https://conzascrm.com/)’ in a frame because it set ‘X-Frame-Options’ to ‘sameorigin’.

Mautic builds an dynamic iframe in the background and uses this iframe to send the form data.  
But the Server [conzascrm.com](http://conzascrm.com) answers with a http header X-Frame-Options with the option sameorigin and prevents that mautic could get the form submit result.

(The domain [conzascrm.com](http://conzascrm.com) runs with cloudflare protection. So the reason for this http header could be cloudflare)

---

<div class="post-metadata">

**Author:** ![sfahrenkrog1](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/sfahrenkrog1/32/4583_2.png) [@sfahrenkrog1](https://forum.mautic.org/u/sfahrenkrog1)\
**Post date:** [April 27, 2021, 11:53am UTC](https://forum.mautic.org/t/the-form-says-please-wait-and-stays-like-that-all-the-time/18906/15 "2021-04-27T11:53:05Z")

</div>

By the way: Thats the reason why the form is submittet to mautic but the button does not change. Mautic is not able to read the form submit answer and could not update it’s button

(Because it’s still waiting)

---

<div class="post-metadata">

**Author:** ![succes33](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/succes33/32/2867_2.png) [@succes33](https://forum.mautic.org/u/succes33)\
**Post date:** [April 27, 2021, 8:00pm UTC](https://forum.mautic.org/t/the-form-says-please-wait-and-stays-like-that-all-the-time/18906/16 "2021-04-27T20:00:40Z")

</div>

Hi thank you very much for the reply and clarification. I will see if I can find out how to fix that in cloudflare.

I have used several times on different cloudflare accounts and also on different Mautic accounts and had not had this problem. But I will investigate to see if I can find how to solve it.

If anyone has any suggestions they are welcome.

Thank you very much

---

<div class="post-metadata">

**Author:** ![sfahrenkrog1](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/sfahrenkrog1/32/4583_2.png) [@sfahrenkrog1](https://forum.mautic.org/u/sfahrenkrog1)\
**Post date:** [April 28, 2021, 6:27am UTC](https://forum.mautic.org/t/the-form-says-please-wait-and-stays-like-that-all-the-time/18906/17 "2021-04-28T06:27:18Z")

</div>

Good Morning!

Let’s disable cloudflare and see if the problem still is there. Then we know if it is cloudflare to blame or a setting on the server.

If it is cloudflare I would write the cloudflare support and ask if it is a single setting that you could disable.

Greetings from Germany  
Sebastian

---

<div class="post-metadata">

**Author:** ![succes33](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/succes33/32/2867_2.png) [@succes33](https://forum.mautic.org/u/succes33)\
**Post date:** [April 28, 2021, 8:19am UTC](https://forum.mautic.org/t/the-form-says-please-wait-and-stays-like-that-all-the-time/18906/18 "2021-04-28T08:19:39Z")

</div>

Hello, good morning.

You are right, if the problem seems to be cloudflare, the logical thing to do is to disconnect it and test.  
I will perform these tests. And see what results it shows.

Thank you very much Sebastian

Greetings from Spain

---

<div class="post-metadata">

**Author:** ![nnemrmaika](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/nnemrmaika/32/13215_2.png) [@nnemrmaika](https://forum.mautic.org/u/nnemrmaika)\
**Post date:** [December 1, 2024, 3:40pm UTC](https://forum.mautic.org/t/the-form-says-please-wait-and-stays-like-that-all-the-time/18906/19 "2024-12-01T15:40:42Z")

</div>

Thank you so much.

---

<div class="post-metadata">

**Author:** ![nnemrmaika](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/nnemrmaika/32/13215_2.png) [@nnemrmaika](https://forum.mautic.org/u/nnemrmaika)\
**Post date:** [December 1, 2024, 3:45pm UTC](https://forum.mautic.org/t/the-form-says-please-wait-and-stays-like-that-all-the-time/18906/20 "2024-12-01T15:45:12Z")

</div>

I am facing same with t[his app](https://modyedge.com/alight-motion-mod-apk/). but now I manage with your guidance.

---

<div class="post-metadata">

**Author:** ![dogfishg64](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/dogfishg64/32/13549_2.png) [@dogfishg64](https://forum.mautic.org/u/dogfishg64)\
**Post date:** [February 5, 2025, 2:09pm UTC](https://forum.mautic.org/t/the-form-says-please-wait-and-stays-like-that-all-the-time/18906/21 "2025-02-05T14:09:03Z")

</div>

I encountered a similar issue where the form would stay on “Please wait…” even though Mautic received the submissions. After some troubleshooting, we found that the problem was due to having JavaScript code inserted on all pages with Mautic forms. The solution was to only include the JavaScript for the specific form on the page where it’s embedded (only need one Javascript). This resolved the issue and allowed the success message to appear as expected.

Hope this helps someone facing the same issue!
