# Wordpress + Elementor PopUp: Wrong behavior on errors on embedded Mautic form

**URL:** <https://forum.mautic.org/t/wordpress-elementor-popup-wrong-behavior-on-errors-on-embedded-mautic-form/14405>\
**Category:** Product Support\
**Created:** [May 19, 2020, 5:20pm UTC](https://forum.mautic.org/t/wordpress-elementor-popup-wrong-behavior-on-errors-on-embedded-mautic-form/14405 "2020-05-19T17:20:10Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![aerendir](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/aerendir/32/1050_2.png) [@aerendir](https://forum.mautic.org/u/aerendir)\
**Post date:** [May 19, 2020, 5:20pm UTC](https://forum.mautic.org/t/wordpress-elementor-popup-wrong-behavior-on-errors-on-embedded-mautic-form/14405/1 "2020-05-19T17:20:10Z")

</div>

**Your software**  
My Mautic version is: 2.16.0

**Context**  
I have a page built with Elementor.

Clicking a button, this page opens a popup built with Elementor.

The popup contains a form to compile.

The form is built in Mautic and the embedded in the popup using the Manual Copy.

**The Problem**

If I submit the form with empty values Mautic should show an error message under the field (removing the rule `display: none` from the `span` used to show the error.

But, instead of doing this, I’m redirected to the same page, but with the error appended as query string.

Something like this:

[https://www.example.com/my-page/?mauticError=Errors%3A\<br%20%2F\>\<ol\>\<li\>L'e-mail%20contiene%20degli%20errori.\<%2Fli\>\<li\>Devi%20accettare%20il%20trattamento%20dei%20tuoi%20dati%20personali%20o%20non%20ci%20sarà%20possibile%20farti%20accedere%20al%20"Video%20Studio"\<%2Fli\>\<%2Fol\>#com\_vender](https://www.example.com/my-page/?mauticError=Errors%3A%3Cbr%20%2F%3E%3Col%3E%3Cli%3EL%27e-mail%20contiene%20degli%20errori.%3C%2Fli%3E%3Cli%3EDevi%20accettare%20il%20trattamento%20dei%20tuoi%20dati%20personali%20o%20non%20ci%20sar%C3%A0%20possibile%20farti%20accedere%20al%20%22Video%20Studio%22%3C%2Fli%3E%3C%2Fol%3E#com_vender)

**What I tried to debug**

1. First of all, I tried to preview the form directly in Mautic: the preview works correctly
2. I then tried to embed the form in a blank post (via Manual Copy) and the form works correctly

**Errors**

The Chrome Dev Console doesn’t show any relevant error.

**Conclusions**

I think there is some sort of conflict between Mautic’s JS and Elementor’s JS.

Another problem I face is this: if I use an email like `box@example` (so, without the top level domain), the form is submitted, but I receive a 500 error from Mautic.

Testing the same form in the Mautic’s preview and in a blank Wordpress post, instead, correctly checks the invalidity of the email and show correctly the errors.

**What I’m asking for**

I need some guidance in debugging the problem as I don’t know where to look more.

The page is public and can be seen here: commercianti[dot]online/l/vendere-online/

Thank you to anyone able to help me.

---

<div class="post-metadata">

**Author:** ![alexrm1x](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/alexrm1x/32/2500_2.png) [@alexrm1x](https://forum.mautic.org/u/alexrm1x)\
**Post date:** [May 24, 2020, 1:04pm UTC](https://forum.mautic.org/t/wordpress-elementor-popup-wrong-behavior-on-errors-on-embedded-mautic-form/14405/2 "2020-05-24T13:04:29Z")

</div>

Hello,

You should use a Wordpress plugin compatible with Mautic.  
Green Popups (formerly Layered Popups) works great and integrates with Mautic and native HTML forms, also with great designs.  
The learning curve is a bit steep but works rock solid, used it for some years.

Cheers,

Alejandro.-

---

<div class="post-metadata">

**Author:** ![aerendir](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/aerendir/32/1050_2.png) [@aerendir](https://forum.mautic.org/u/aerendir)\
**Post date:** [June 4, 2020, 6:49pm UTC](https://forum.mautic.org/t/wordpress-elementor-popup-wrong-behavior-on-errors-on-embedded-mautic-form/14405/3 "2020-06-04T18:49:10Z")

</div>

I’ve contacted Elementor’s support to solve the issue. I don’t now IF and WHEN they will fix… ☹

---

<div class="post-metadata">

**Author:** ![alexrm1x](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/alexrm1x/32/2500_2.png) [@alexrm1x](https://forum.mautic.org/u/alexrm1x)\
**Post date:** [June 14, 2020, 5:45pm UTC](https://forum.mautic.org/t/wordpress-elementor-popup-wrong-behavior-on-errors-on-embedded-mautic-form/14405/4 "2020-06-14T17:45:41Z")

</div>

Man, your time is gold. Use Green Popups or Ninja Popups, both work with Mautic.

---

<div class="post-metadata">

**Author:** ![aerendir](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/aerendir/32/1050_2.png) [@aerendir](https://forum.mautic.org/u/aerendir)\
**Post date:** [June 15, 2020, 10:29pm UTC](https://forum.mautic.org/t/wordpress-elementor-popup-wrong-behavior-on-errors-on-embedded-mautic-form/14405/5 "2020-06-15T22:29:43Z")

</div>

I don’t like having many plugins… but I will try as this is a big problem for conversions 🤬
