Lego2012
12/13/2016 - 2:43 PM

Disable auto scrolling to anchor after form submission

Disable auto scrolling to anchor after form submission

<?php
//* Do NOT include the opening php tag shown above. Copy the code shown below.

// Disable auto scrolling to anchor after form submission
add_filter( 'gform_confirmation_anchor_1', '__return_false' );

<!-- where 1 is the ID of form. -->