Contact form not working as expected
This support request was posted in Flatbase by trackplanfm
- trackplanfm August 25, 2021 at 11:18 am
Hi, Good day!
Having some issues with the contact page.
What works?
Email is sent out as expected.What does not work?
After the form is submitted, the success message is not displayed.
The form is not cleared.We do not have any other plugins or customizations on our site. It’s pretty basic and only has stuff that came with the theme.
Juanfra Aldasoro August 27, 2021 at 10:15 amHi,
Thank you for reaching out to us. I hope you’re doing well.
I see, I went to your site and confirmed the situation. Would you please share a list of the plugins you’re using for your site so I can test things in a local environment and try to reproduce it locally?
Thanks,
Juan.trackplanfm August 27, 2021 at 10:29 amHi Juan,
Thanks for getting back.
The contact issue was identified before the above plugins were added, so I do not think this is a plugin-related problem.
Kind regards
SajithJuanfra Aldasoro September 2, 2021 at 9:48 amHi Sajith,
Thank you for the follow-up and sorry for the delay in responding.
We’ve been investigating the issue and it seems that we’ve found the source.
Can you please try going to wp-content/themes/flatbase/includes/scripts.php and changing line 592 from:
jQuery( "#node" ).ajaxComplete(function(event, request, settings) {
to
jQuery( document ).ajaxComplete( function( event, request, settings ) {
Please let me know how it goes.
Best,
Juan.trackplanfm September 3, 2021 at 11:04 amHi Juan,
Thanks for the reply.
Let me give that a try and get back.
Thanks
SajithJuanfra Aldasoro September 6, 2021 at 7:18 amHi Sajith,
I hope you’re doing well.
Perfect, thank you.
Best,
Juan.trackplanfm July 12, 2022 at 9:58 amIt is fixed now, we just removed lines 592 and 602.
Kind regards,
This topic is marked as resolved
Only the topic author can re-open this thread.