Contact form jump to different area of the page after submitting

Hi there,

The site with the issue

WordPress 4.8
Sparkling 2.3.2

As the title says, whenever I finish submitting a contact form,
the page jump to a different area.

Is there a way to not make it move?

I tried to disable all other plug-ins and switch to basic theme,
it doesnt happen, but when Sparkling is activated, the page jump after a form is submitted.

Any reason why? Or how to I disable that?
(I know HTML, CSS, understand a bit of Javascript, don’t know much about PHP)




I dont mind for the form on the contact page
but forms on other page have that issue
(for example, career page, design page (top form (free consultation) and mid page form (talk to a specialist))

Hi Ben,

I hope you are well today and thank you for your question.

This is happening on your shared site because the contact form action attribute contains relative URL like /design/#wpforms-3012 but after submitting form successfully that ID #wpforms-3012 gets changed to #wpforms-confirmation-3012 so the form action attribute should contain URL like /design/#wpforms-confirmation-3012

Best Regards,

Hi Movin,

I found the form action attribute when I click view code source but I don’t know where I can edit it.
I didnt hardcode the form, it is a plug-in but, when I use the default theme, this issue doesn’t happen.

Could you please tell me which plugin you have used so that i can troubleshoot it on my test site?

Yes, I am using Contact Form 7

I couldn’t reproduce the issue on my test site using shared plugin.

It seems this is happening because of the code as shown in the attached screenshot added on your site so please remove this code from your site.