Mautic Community Forums

Form posting to site instead of mautic site.

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

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:

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

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

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

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.

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

Hello! The checkbox problem had been solved already (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.