# Form posting to site instead of mautic site.

**URL:** https://forum.mautic.org/t/form-posting-to-site-instead-of-mautic-site/2019
**Category:** Product Support
**Created:** [July 2, 2015, 9:13pm UTC](https://forum.mautic.org/t/form-posting-to-site-instead-of-mautic-site/2019 "2015-07-02T21:13:52Z")
**Posts on this page:** 6
**Page:** 1

<div class="post-metadata">

### Author: ![atenhotep](https://avatars.discourse-cdn.com/v4/letter/a/6de8d8/32.png) [@atenhotep](https://forum.mautic.org/u/atenhotep)
#### Post date: [July 2, 2015, 9:13pm UTC](https://forum.mautic.org/t/form-posting-to-site-instead-of-mautic-site/2019/1 "2015-07-02T21:13:52Z")

</div>

First of all, thank you for making such an amazing piece of open source software. Year after year I am blown away by what people are willing to produce for love, beer, and real freedom. I hope, over time, to work with you in making all the Marketing/Email automation companies work hard for their income.  
  
  
  
I just installed Mautic last night on my own VPS. Thanks to a previous post it seems to be running fine in NGINX, but since I don’t know the product, that may always be a part of the problem.  
  
  
  
I have a form where this is the action on the form:

Code:

http://webomau.tk/form/submit?formId=1

  
However, when I click the [Yes Please] button, this is the actual URL of the POST:

Code:

http://ipresenceja.ga/mail/contact\_me.php

  
Needless to say, since that path and file don't exist on the actual site, my form never successfully posts.  
The [Yes Please] button changes to [Please wait ...], and never returns.  
  
Here's the site, so it is obvious: [iPresenceJA.ga](http://ipresenceja.ga/)

---

<div class="post-metadata">

### Author: ![atenhotep](https://avatars.discourse-cdn.com/v4/letter/a/6de8d8/32.png) [@atenhotep](https://forum.mautic.org/u/atenhotep)
#### Post date: [July 2, 2015, 9:13pm UTC](https://forum.mautic.org/t/form-posting-to-site-instead-of-mautic-site/2019/2 "2015-07-02T21:13:52Z")

</div>

First of all, thank you for making such an amazing piece of open source software. Year after year I am blown away by what people are willing to produce for love, beer, and real freedom. I hope, over time, to work with you in making all the Marketing/Email automation companies work hard for their income.

I just installed Mautic last night on my own VPS. Thanks to a previous post it seems to be running fine in NGINX, but since I don’t know the product, that may always be a part of the problem.

I have a form where this is the action on the form:

```auto
http://webomau.tk/form/submit?formId=1
```

However, when I click the [Yes Please] button, this is the actual URL of the POST:

```auto
http://ipresenceja.ga/mail/contact_me.php
```

Needless to say, since that path and file don’t exist on the actual site, my form never successfully posts.  
The [Yes Please] button changes to [Please wait …], and never returns.

Here’s the site, so it is obvious: [iPresenceJA.ga](http://ipresenceja.ga/)

---

<div class="post-metadata">

### Author: ![atenhotep](https://avatars.discourse-cdn.com/v4/letter/a/6de8d8/32.png) [@atenhotep](https://forum.mautic.org/u/atenhotep)
#### Post date: [July 2, 2015, 9:57pm UTC](https://forum.mautic.org/t/form-posting-to-site-instead-of-mautic-site/2019/3 "2015-07-02T21:57:14Z")

</div>

FWIW: I’ve made a landing page with the same form, and it works with one exception.  
The “Marketing Interests” field is not posting any data, even when some of the checkboxes  
are checked. I initially noticed by not seeing any data stored in the DB with some test  
posts. Then I looked at what parameter values were actually being sent in the post,  
and sure enough, there were no values for any “marketing\_interests”, either as multiple  
values based on the label for the group, or with a unique name that appended the name  
of the checkbox and simply gave it a value so that it showed up.

What I’ve noticed is the checkbox inputs don’t have a name, they have an ID, so the labels  
properly associate with them, but the name attribute is missing, hence nothing can ever  
be posted as a parameter for them.

---

<div class="post-metadata">

### Author: ![atenhotep](https://avatars.discourse-cdn.com/v4/letter/a/6de8d8/32.png) [@atenhotep](https://forum.mautic.org/u/atenhotep)
#### Post date: [July 2, 2015, 11:14pm UTC](https://forum.mautic.org/t/form-posting-to-site-instead-of-mautic-site/2019/4 "2015-07-02T23:14:05Z")

</div>

The iframe works to allow me to post from the original site. I’ve made a Blank theme,  
and should be able to pretty it up to match the site no problem.

Not getting one of my fields posting is definitely still a problem, though.

A page with the broken form, from the JS code provided by Mautic is now at:

```
http://ipresenceja.ga/broken-form.html
```

---

<div class="post-metadata">

### Author: ![escopecz](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/escopecz/32/370_2.png) [@escopecz](https://forum.mautic.org/u/escopecz)
#### Post date: [July 9, 2015, 7:09am UTC](https://forum.mautic.org/t/form-posting-to-site-instead-of-mautic-site/2019/5 "2015-07-09T07:09:30Z")

</div>

Hello! The checkbox problem had been solved already ([https://github.com/mautic/mautic/pull/598](https://github.com/mautic/mautic/pull/598)) and will work in the upcoming version. You can test the Pull Request and write the comment about the result.

Do I understand it right that the form submit problem is fixed? I can see a https problem on your website. That could also cause form submit problems.

---

<div class="post-metadata">

### Author: ![silavapi](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/silavapi/32/7424_2.png) [@silavapi](https://forum.mautic.org/u/silavapi)
#### Post date: [February 2, 2020, 10:59pm UTC](https://forum.mautic.org/t/form-posting-to-site-instead-of-mautic-site/2019/6 "2020-02-02T22:59:25Z")

</div>


