JasonPotter Posted January 27, 2022 Share Posted January 27, 2022 (edited) My own contact form works - every single email sent through this form is received within two seconds of being sent, yet I get this damn "error: something went wrong" message popping up each and every time. I can't see anything in the code to delete in order to eradicate this message. So can someone enlighten me? Edited January 27, 2022 by JasonPotter Link to comment Share on other sites More sharing options...
Ingolme Posted January 27, 2022 Share Posted January 27, 2022 If you show your code, I might be able to identify where the error is coming from. From the screenshot, it certainly looks like something that's built into the code and not a native browser feature. I checked W3Schools How To Contact form page (https://www.w3schools.com/howto/howto_css_contact_form.asp), it's only an example of how to visually layout a form and isn't actually functional. There's no back end code to handle the form data. Link to comment Share on other sites More sharing options...
JasonPotter Posted January 28, 2022 Author Share Posted January 28, 2022 On 1/27/2022 at 5:52 PM, Ingolme said: If you show your code, I might be able to identify where the error is coming from. From the screenshot, it certainly looks like something that's built into the code and not a native browser feature. I checked W3Schools How To Contact form page (https://www.w3schools.com/howto/howto_css_contact_form.asp), it's only an example of how to visually layout a form and isn't actually functional. There's no back end code to handle the form data. It's not W3Schools contact form. It's a web template I purchased. The site is 'work-in-progress'. Code and send-mail.php attached. contact.txt send-mail.php Link to comment Share on other sites More sharing options...
Ingolme Posted January 29, 2022 Share Posted January 29, 2022 I suspect the file "js/send-mail.js" is causing the problem, but I'd have to see the code to verify it. The other possible source of the problem is "js/main.js". Link to comment Share on other sites More sharing options...
JasonPotter Posted January 29, 2022 Author Share Posted January 29, 2022 9 hours ago, Ingolme said: I suspect the file "js/send-mail.js" is causing the problem, but I'd have to see the code to verify it. The other possible source of the problem is "js/main.js". Thanks. I'll try another contact form. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now