PHP Redirect failure

5 replies · opened May 25, 2019

RRoadstar50May 25, 2019

Hello,
Thanks for such a great template, the documentation is very good.
I'm having problems with the form. The message is sent and an ugly message pops up the says "{ "alert": "success", "message": "We have successfully received your Message and will get Back to you as soon as possible." }" I want to redirect to a "Thank You" page. I tried <div class="form-widget" data-redirect="http://cpstudiollc.com/thankyou.html"> but no joy.

Can you help with this issue?

Live Site: cpstudiollc.com

Thank You,
Paul

SSemicolon WebSTAFFMay 26, 2019

Hello,

Thank You so much for the Kind Words!

This appears to be an issue with JS Conflicts on your Page. Please provide us with a Live URL so that we can check out the exact issue and provide you with more assistance on this. Thanks for your Patience.

Additionally, you can also check for any possible JS Issues in your Browser's Developer Console, as it might help you understand and fix the issue faster.

Meanwhile, do let us know if we can help you with anything else or if you find any further issues with Canvas.

RRoadstar50May 26, 2019

Hello again,
Attached is a screen shot of the developers console... seems like I have an issue with popper.min.js. I don't think that's involved with the form??

Live site is http://www.cpstudiollc.com

Is something like this possible? I'm not a PHP programmer.. could this be placed into the form.php code?
<p>Thank You, we will be in touch within 24 hours. You will be redirected in 3 seconds</p>
<script>
var timer = setTimeout(function() {
window.location='http://example.com'
}, 3000);
</script>
Thanks!

SSemicolon WebSTAFFMay 27, 2019

Hello,

Thanks for the Live URL. It appears that you are using a different Template and not Canvas which is why you are facing unexpected issues. ;)

Anyways, please provide us with a Valid Live URL which uses the Canvas Template so that we can check out the exact issue and provide you with more assistance on this. Thanks for your Patience.

Meanwhile, do let us know if we can help you with anything else or if you find any further issues with Canvas.

RRoadstar50May 27, 2019

Sorry,
It is Canvas, I'm not quite sure what you were looking at. It'd been modified to suit my clients needs as one would expect with a template. The contact form was a cut-n-paste directly from one of the form demos. The form, form.php and the linked phpmailer have not been modified because I wanted to get the form working properly first.

SSemicolon WebSTAFFMay 28, 2019

Hello,

We have checked out your Codes completely and all the Codes have been used from a Different Template while just the Contact Form codes are used from Canvas that too without the JS Codes (js/functions.js) which is unfortunately why the AJAX Functionality and the Redirect mechanism does not work. So this is an issue related to Customization of Files and using them beyond the actual functionalities included within the Template. We can currently only provide support for Issues arising out of the template codes that are used in their default order and not out of customization.

Hope this Helps!

Let us know if we can help you with anything else or if you find any further issues.

Have the same question, or something new?

Sign in to the Canvas dashboard to reply or open your own topic. Canvas owners get direct help from the SemiColonWeb team.

Reply on the dashboard