# Mautic issues to validate form

**URL:** <https://forum.mautic.org/t/mautic-issues-to-validate-form/4105>\
**Category:** Product Support\
**Created:** [May 24, 2017, 1:28am UTC](https://forum.mautic.org/t/mautic-issues-to-validate-form/4105 "2017-05-24T01:28:39Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![danielshad](https://avatars.discourse-cdn.com/v4/letter/d/a88e57/32.png) [@danielshad](https://forum.mautic.org/u/danielshad)\
**Post date:** [May 24, 2017, 1:28am UTC](https://forum.mautic.org/t/mautic-issues-to-validate-form/4105/1 "2017-05-24T01:28:39Z")

</div>

Hello people good night  
  
  
  
I had some issues with form validations on Mautic. I use WordPress and Mautic here. When someone signs a form with all fields blank, I get this error with URL parameters:

Code:

http://[my\_domain]/[my\_content]/?mauticError=Erros%3A%3Cbr%20%2F%3E%3Col%3E%3Cli%3EInsira%20seu%20email%3C%2Fli%3E%3Cli%3EInsira%20seu%20telefone%3C%2Fli%3E%3Cli%3EInsira%20sua%20cidade%3C%2Fli%3E%3Cli%3E%27Profiss%C3%A3o%27%20%C3%A9%20obrigat%C3%B3rio.%3C%2Fli%3E%3Cli%3EInforme%20sua%20necessidade%3C%2Fli%3E%3C%2Fol%3E#formulario

  
I tried to use the manual code, but I had no results. I just need to show a message and validate blank fields, at same page, when someone try to subscribe my forms and solve this problem.  
  
I used this plugin to mask some fields: https://github.com/luizeof/mautic-wordpress/blob/master/wpmautic.php  
  
Someone already seen something like this?  
  
Regards.  
  
Thanks

---

<div class="post-metadata">

**Author:** ![danielshad](https://avatars.discourse-cdn.com/v4/letter/d/a88e57/32.png) [@danielshad](https://forum.mautic.org/u/danielshad)\
**Post date:** [May 24, 2017, 1:28am UTC](https://forum.mautic.org/t/mautic-issues-to-validate-form/4105/2 "2017-05-24T01:28:39Z")

</div>

Hello people good night

I had some issues with form validations on Mautic. I use WordPress and Mautic here. When someone signs a form with all fields blank, I get this error with URL parameters:

`
http://[my_domain]/[my_content]/?mauticError=Erros%3A%3Cbr%20%2F%3E%3Col%3E%3Cli%3EInsira%20seu%20email%3C%2Fli%3E%3Cli%3EInsira%20seu%20telefone%3C%2Fli%3E%3Cli%3EInsira%20sua%20cidade%3C%2Fli%3E%3Cli%3E%27Profiss%C3%A3o%27%20%C3%A9%20obrigat%C3%B3rio.%3C%2Fli%3E%3Cli%3EInforme%20sua%20necessidade%3C%2Fli%3E%3C%2Fol%3E#formulario`

I tried to use the manual code, but I had no results. I just need to show a message and validate blank fields, at same page, when someone try to subscribe my forms and solve this problem.

I used this plugin to mask some fields: [https://github.com/luizeof/mautic-wordpress/blob/master/wpmautic.php](https://github.com/luizeof/mautic-wordpress/blob/master/wpmautic.php)

Someone already seen something like this?

Regards.

Thanks

---

<div class="post-metadata">

**Author:** ![danielshad](https://avatars.discourse-cdn.com/v4/letter/d/a88e57/32.png) [@danielshad](https://forum.mautic.org/u/danielshad)\
**Post date:** [May 24, 2017, 11:21am UTC](https://forum.mautic.org/t/mautic-issues-to-validate-form/4105/3 "2017-05-24T11:21:39Z")

</div>

Solved.

Basically, the issue was related with a path error. The Mautic duplicated one folder in the path to find one JS file.

(e.g http://[myurl]/mautic/mautic/media/js/mautic-form.js - Thats the file)

I just changed the Mautic Base URL from “http://[myurl]/mautic” to “http://mautic.[myurl]/”, then, I waited for cronjobs. It worked!

Thanks.

---

<div class="post-metadata">

**Author:** ![bizcrony](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/bizcrony/32/409_2.png) [@bizcrony](https://forum.mautic.org/u/bizcrony)\
**Post date:** [May 29, 2017, 6:54am UTC](https://forum.mautic.org/t/mautic-issues-to-validate-form/4105/4 "2017-05-29T06:54:33Z")

</div>

Thanks for sharing solutions

---

<div class="post-metadata">

**Author:** ![Zawro](https://avatars.discourse-cdn.com/v4/letter/z/e8c25b/32.png) [@Zawro](https://forum.mautic.org/u/Zawro)\
**Post date:** [July 4, 2017, 4:49am UTC](https://forum.mautic.org/t/mautic-issues-to-validate-form/4105/5 "2017-07-04T04:49:59Z")

</div>

I had this same problem. There was a fix for me. My solution was my configuration url was wrong.  
Click Configuration \> Site URL: Just put your domain name eg [https://YourDomainName](https://YourDomainName) (or http if you’re http) eg [https://domain.com](https://domain.com) or [http://domain.com](http://domain.com)  
I had mine as [https://domain.com/mautic](https://domain.com/mautic) (I installed it in a sub folder). Ignore the subfolder, just put your base domain name.

Correct solution was found here  
[https://www.mautic.org/community/index.php/7552-v-2-8-0-404-on-mautic-form-js/p1#p22721](https://www.mautic.org/community/index.php/7552-v-2-8-0-404-on-mautic-form-js/p1#p22721) by MxyzptlkFishStix,  
which was found [https://www.mautic.org/community/index.php/7100-mautic-form-js-failed-to-load-resource/0](https://www.mautic.org/community/index.php/7100-mautic-form-js-failed-to-load-resource/0)

Good luck to you.
