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.
Please login or Register to submit your answer
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.
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.
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.
Solution: For Elementor, just use the Formidable Element and not the short code. Don't even try placing it in a toggle or accordion.