Auto scroll to top of form rather than top of page after next on Page Break

By: Pat Bos | Asked: 06/09/2024
ForumsCategory: How-toAuto scroll to top of form rather than top of page after next on Page Break
Pat Bos asked 6 months ago
I have a large form with several page breaks. I have inserted the short code to this form at the center of a page with other information (theme: Astra and Elementor). When user presses next, the form auto scrolls to the top of the whole page and user has to scroll down to where the form starts. Is there a way to scroll to the beginning of the form rather than the beginning of the page when someone goes to the next page? Thanks. 
Rob LeVineRob LeVine replied 6 months ago

I created a simple multi-page form and then put it on a page with lots of text and when I click Next, the page autoscrolls to the form each time. So I suggest you create a simple example like that to see if your problem still exists. If so, it's likely a theme or builder issue also likely involving some JavaScript. UDPATE: I'm using just a regular WP page editor and the 2020 theme.

Pat Bos replied 6 months ago

Oh. So it might be a plugin issue or a theme issue. Let me try to deactivate my plugins and current theme to see if it will work thanks.

Pat Bos replied 6 months ago

Did the experiment and it worked when I placed the form in the normal WordPress page builder built without Elementor. Now I have to make a way for it to work with Elementor.

Pat Bos replied 6 months ago

Solution: For Elementor, just use the Formidable Element and not the short code. Don't even try placing it in a toggle or accordion.

Making the Best WordPress Plugin even better - Together

Take on bigger projects with confidence knowing you have access to an entire community of Formidable Experts and Professionals who have your back when the going gets tough. You got this!
Join the community
crossarrow-right