Dynamically populate a dropdown via section anchor tag

Hi All,

I currently have pricing tables set up with a button that when clicked scrolls down to the gravity forms. I do this by giving the form an Id of #contact and then adding the id to the button URL #contact.

I tried dynamically populating the dropdown by adding changing the link to #contact?paramter=value and then I just ticked the allow this field to be dynamically populated and added my parameter.

This does not work and I’m not sure if it’s because it’s not actually a URL or because I did something wrong.

How can I dynamically populate a dropdown and still use the scroll to section function?

Kind regards
Logan