Off page buttons linking to form with preselected radio choice

Hi there,

I have a form with multiple choices as radio buttons. Trying to find a way to have links/buttons on other pages of the website that will link to the page with embedded form and preselect a radio button choice depending on some value stored in the URL.

Is this possible? and if so how? (can’t find the right terminology to search for so not having much luck.)

Thanks!

Hi Michael. You can do this with Gravity Forms’ dynamic population. You will use the Query String method:

Your links or button links on other pages will include the parameter name for the radio button field, and the value that matches one of the choices in the field. For example, you have a radio button field set up like this:

You can see that the Parameter Name is ‘education’, and the values are:

  • highschool
  • associates
  • bachelors
  • graduate
  • some
  • silence

For your links or your button links, you will use a URL like this:

https://www.example.com/submit-your-resume/?education=highschool
https://www.example.com/submit-your-resume/?education=associates
https://www.example.com/submit-your-resume/?education=bachelors
https://www.example.com/submit-your-resume/?education=graduate
https://www.example.com/submit-your-resume/?education=some
https://www.example.com/submit-your-resume/?education=silence

When you click the link where “education=graduate” the form will load with the Education field in the form having the “Graduate or Professional Degree” choice pre-selected.

The reason for using Values is so you can send a simple, unique value without spaces or special characters in the URL, and you can always change the wording of the label if you like, without affecting your links or your existing entries (maybe you want to change “Associate Degree” to “Associates Degree”?)

Let us know if you have any questions.

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.