Submit Button on Forms Not Working

We upgraded to the latest version and everything is great except that when someone presses submit the button changes to “Please Wait…” and nothing happens. Sometimes the data get entered into the database and other actions take place. But the button never goes back to Submit nor does the action to go to a URL or display a message take place.



Any clues. I have seen many people mention it as a problem but no response anywhere as to what to do to fix it. Is it a known bug?



Thanks!



Eric

We upgraded to the latest version and everything is great except that when someone presses submit the button changes to “Please Wait…” and nothing happens. Sometimes the data get entered into the database and other actions take place. But the button never goes back to Submit nor does the action to go to a URL or display a message take place.

Any clues. I have seen many people mention it as a problem but no response anywhere as to what to do to fix it. Is it a known bug?

Thanks!

Eric

Not working at all in version 2.9 - There are numerous forum posts on this topic, yet no reply from Mautic… Can we get more posts and feedback from the community on this one? Our Mautic websites are non-functioning without working forms… PLEASE HELP

Same issue here, I discussed the potential permissions problem highlighted in another post with my host and they said that all permissions were as they should be so now stuck with where to go next, anyone from Mautic?

I have a test form here if so

http://www.tomirvingnutrition.co.uk/about-me/meet-the-team/

I just upgraded to 2.9.2 . Fingers crossed and no… Same problem.

my test form is at: http://www.padtinc.com/mautic/testform

Thanks for your post/comments everyone. Has anyone checked error logs? Is there anything unique about forms or where they reside (website/landing page/etc.)? A little more information regarding all the variables surrounding the issue may help narrow down the problem and assist the development team narrow down any bug that may be present.

These are just simple forms sitting on landing pages.
http://www.padtinc.com/mautic/testform

Nothing in the error logs when submit is pressed. The data is put in the database, emails are sent. It just never clears the button.

Makes no difference if there is an action associated with the form or what “Successful Submit Action” I choose

Thank you for any help that is available.

Eric

Is there a debug mode I could go into and step through, see where it is hanging. My coding days are long past but I might be able to remember enough to find where it is failing.

Also, I’ve tried different browsers and cleared the cache as recommended.

I also pasted the script as well as the full code/HTML for the form onto a plank HTML page rather than a Mautic landing page. Same problem.

Update: @jseevers

I turned on debugging:
added “debug” => true,
to my local.php and restarted Apache

Now the log files have lots of info, but no errors. I don’t know what a successful submit looks like but it seems to be working:

[2017-08-08 13:31:46] request.INFO: Matched route “mautic_page_public”. {“route_parameters”:{"_controller":“Mautic\PageBundle\Controller\PublicController::indexAction”,“slug”:“testform”,"_route":“mautic_page_public”},“request_uri”:“http://www.padtinc.com/mautic/testform”} []
[2017-08-08 13:31:46] security.DEBUG: Read existing security token from the session. {“key”:"_security_mautic"} []
[2017-08-08 13:31:46] security.DEBUG: User was reloaded from a user provider. {“username”:“padtmautic”,“provider”:“Mautic\UserBundle\Security\Provider\UserProvider”} []
[2017-08-08 13:31:46] security.DEBUG: Stored the security token in the session. {“key”:"_security_mautic"} []
[2017-08-08 13:31:47] request.INFO: Matched route “mautic_js”. {“route_parameters”:{"_controller":“Mautic\CoreBundle\Controller\JsController::indexAction”,"_route":“mautic_js”},“request_uri”:“http://www.padtinc.com/mautic/mtc.js”} []
[2017-08-08 13:31:47] security.DEBUG: Read existing security token from the session. {“key”:"_security_mautic"} []
[2017-08-08 13:31:47] security.DEBUG: User was reloaded from a user provider. {“username”:“padtmautic”,“provider”:“Mautic\UserBundle\Security\Provider\UserProvider”} []
[2017-08-08 13:31:48] security.DEBUG: Stored the security token in the session. {“key”:"_security_mautic"} []
[2017-08-08 13:31:53] request.INFO: Matched route “mautic_form_postresults”. {“route_parameters”:{"_controller":“Mautic\FormBundle\Controller\PublicController::submitAction”,"_route":“mautic_form_postresults”},“request_uri”:“http://www.padtinc.com/mautic/form/submit?formId=5”} []
[2017-08-08 13:31:53] security.DEBUG: Read existing security token from the session. {“key”:"_security_mautic"} []
[2017-08-08 13:31:53] security.DEBUG: User was reloaded from a user provider. {“username”:“padtmautic”,“provider”:“Mautic\UserBundle\Security\Provider\UserProvider”} []

[2017-08-08 13:32:28] mautic.DEBUG: LEAD: System lead is being used
[2017-08-08 13:32:28] mautic.DEBUG: LEAD: In a Mautic user session
[2017-08-08 13:32:28] mautic.DEBUG: LEAD: System lead is being used
[2017-08-08 13:32:28] mautic.DEBUG: LEAD: In a Mautic user session
[2017-08-08 13:32:36] mautic.DEBUG: LEAD: System lead is being used
[2017-08-08 13:32:36] mautic.DEBUG: LEAD: In a Mautic user session
[2017-08-08 13:32:36] mautic.DEBUG: FORM: Not in kiosk mode so using current contact ID #
[2017-08-08 13:32:36] mautic.DEBUG: FORM: Unique fields submitted include eric@millerphx.com
[2017-08-08 13:32:36] mautic.DEBUG: 1 found based on unique identifiers
[2017-08-08 13:32:36] mautic.DEBUG: FORM: Testing contact ID# 1174 for conflicts
[2017-08-08 13:32:36] mautic.DEBUG: FORM: Potential conflicts 0 = email
[2017-08-08 13:32:36] mautic.DEBUG: FORM: In kiosk mode so not merging
[2017-08-08 13:32:36] mautic.DEBUG: FORM: Potential conflicts 0 = email
[2017-08-08 13:32:36] mautic.DEBUG: FORM: Current unique contact fields email = eric@millerphx.com
[2017-08-08 13:32:36] mautic.DEBUG: FORM: Submitted unique contact fields email = eric@millerphx.com
[2017-08-08 13:32:36] mautic.DEBUG: FORM: Associating 127.0.0.1 to contact
[2017-08-08 13:32:36] mautic.DEBUG: LEAD: 1174 set as current lead.
[2017-08-08 13:32:36] mautic.DEBUG: LEAD: In a Mautic user session
[2017-08-08 13:32:36] mautic.DEBUG: LEAD: 1174 set as system lead.
[2017-08-08 13:32:36] mautic.DEBUG: LEAD: System lead is being used
[2017-08-08 13:32:36] mautic.DEBUG: LEAD: In a Mautic user session
[2017-08-08 13:32:36] mautic.DEBUG: CAMPAIGN: Campaign triggered for event type form.submit(form / 5)
[2017-08-08 13:32:36] mautic.DEBUG: LEAD: System lead is being used
[2017-08-08 13:32:36] mautic.DEBUG: LEAD: In a Mautic user session
[2017-08-08 13:32:36] mautic.DEBUG: CAMPAIGN: Current Lead ID# 1174
[2017-08-08 13:32:36] mautic.DEBUG: CAMPAIGN: no campaigns found so abort
[2017-08-08 13:32:36] mautic.DEBUG: LEAD: System lead is being used
[2017-08-08 13:32:36] mautic.DEBUG: LEAD: In a Mautic user session

Resolved in https://www.mautic.org/community/index.php/8154-form-is-hang-on-submit-button-after-hit-submit

Well, not really “resolved”, since many users are still complaining about this… me included. :slight_smile:

I tend to mark “Answered” the answer which could help the most for others having the issue since it’s visible directly bellow the question. It doesn’t necessarily mean the issue is resolved. If you’ll come up with the solution to your problem, please describe it here and I’ll mark your answer.

I have the same issue digging around looking for an solutions

Same problem here, still occurs in 2.10 very annoying. Problems occurs with different browser (perhaps all). Forms and Website (Drupal) on 2 different subdomain.

Hopefully the email is send but it is confusing for leads that the button stays blocked on Please Wait.