Mautic Community Forums

Form redirect fail

Using the “Manual Copy” method I’ve placed the the recommended form code snippets in the head and the body of an externally hosted page. I’ve used a stripped down html page to help with troubleshooting… http://chrysalisbts.com/indextest.html



When using the Mautic Form > Preview option the redirect works fine. THe externally hosted from however hangs on submit. The data is submited but the form does not move to the redirect.



Viewing the console in Chrome I see the following error… “Refused to display ‘http://23.99.52.145/form/submit?formId=2’ about:blank:1 in a frame because it set ‘X-Frame-Options’ to ‘SAMEORIGIN’.”



Any assistance would be greatly appreciated.



Thanks!

Using the “Manual Copy” method I’ve placed the the recommended form code snippets in the head and the body of an externally hosted page. I’ve used a stripped down html page to help with troubleshooting… http://chrysalisbts.com/indextest.html

When using the Mautic Form > Preview option the redirect works fine. THe externally hosted from however hangs on submit. The data is submited but the form does not move to the redirect.

Viewing the console in Chrome I see the following error… “Refused to display ‘http://23.99.52.145/form/submit?formId=2’ about:blank:1 in a frame because it set ‘X-Frame-Options’ to ‘SAMEORIGIN’.”

Any assistance would be greatly appreciated.

Thanks!

Having the same issue

@dhealey27 Try editing the httpd.conf file and change the SAMEORIGIN to GOFORIT, that should do it.
Make sure to restart apache so that the changes can take effect.