I'm using Gravity Forms on my WP site and when a specific link is clicked, I want the page to scroll down to the contact form where a corresponding field will have been dynamically populated.
I have the dynamic population part working, but my problem is that the project in question is one of those long, one page sites… so when the link is clicked the page reloads and brings the user back up to the top, which is quite confusing. If at this point you scroll down to the form you can see the field has been populated correctly, but I'm looking for a way to do this without making the page reload (ajax?) so they are just anchored down to the now populated form.
form embedded in template:
<?php gravity_form(1, false, false, false, '', true); ?>
link to form:
<a href="?message=Testing message">contact us</a>