Contact Form Sending Emails, Animations keeps spinning

8 replies · opened Oct 3, 2017

LLaurentKoergeOct 3, 2017

Hi Canvas Team,

Thanks for the awesome template.

I got everything running perfectly in my contact form, with recaptcha etc.

However I do revive emails, but the spinner keeps on going without giving the user a successfully sent notification. I also contacted my host, it seems that it's all fine from their side.

Could you please assist me..

Many thanks!

Domain: interaltus.ee

SSemicolon WebSTAFFOct 3, 2017

Hello,

Thank You so much for the Kind Words! :)

We have checked out your Contact Form and there appears to be an Illegal Character "s" in the include/sendemail.php File which might have been added by mistake while editing this file. Please find and delete this which should automatically fix this issue.

Hope this Helps!

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

SSemicolon WebSTAFFOct 4, 2017

Hello,

There are 2 issues with your Contact Form:

  1. Remove the Custom AJAX Code you are using along with the onsubmit Callback on your Form.

  2. Replace the .contactx-widget Class with .contact-widget Class.

This should automatically fix the issue. Hope this Helps!

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

CccrookeOct 4, 2017

Thank you for the quick reply.

I've made the changes but am still having an issue. After submitting the form, the fields "blur out" as expected but then nothing.

The only code in the page that is being called (email-handler-ajax.php) is as follows:

<?php
// Form Processing Messages
$message_success = 'We have successfully received your Message and will get Back to you as soon as possible.';
?>

This is just copied from the template's include/sendemail.php file.

I appreciate your help with this and if there is anything else I can provide to help in the troubleshooting please let me know.

CccrookeOct 4, 2017

Also, it may be worth mentioning that this happens with the out-of-the-box contact.html page that comes with the template. And it also seems to be happening on the template demo page.

NnovareOct 5, 2017

Hi

I am also observing the same problem on a contact form I am setting up.

On my site, I submit the form and the page sends an email but then the AJAX spinner keeps on going and never displays the updated confirmation message:

http://coffeecart.co.nz/demo-nzcc.html

Any help would be much appreciated.

Thanks and regards

Simon

CccrookeOct 5, 2017

I was able to fix my issue. I'm not exactly sure what the problem was but I restarted with the out-of-the-box contact page and slowly added back in my customizations, testing all the way, and it works now. I'm pretty sure I just had to copy everything from the <form></form> in the out-of-box contact.html and overwrite whatever I had in my testing page.

LLaurentKoergeOct 11, 2017

Apologies for my late reply.

Indeed by eliminating the illegal character it now works, used the out-of-the-box template and re-modified to avoid searching.

Thanks for the fast feedback.

Great work!

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