Gravity Forms – Auto Scrolling

Enable auto-scrolling to error messages in Gravity Forms by adding the following snipped to functions.

Comes in handy if a Newsletter Signup has been placed in the footer, or a sidebar.

add_filter( 'gform_confirmation_anchor', 'your_function_name' );

Adding the above snippet to your functions.php file will force the page to scroll down to the confirmation message after the form is submitted.

Source.

Leave a Reply

katherine as a flat graphic icon

About Me

I’m an African / Ojibwe First Nations Web Developer living in Winnipeg, Manitoba.

Visit the Tips and Blog to see what I’m working on.