PLEASE NOTE: These forums are no longer utilized and are provided as an archive for informational purposes only. All support issues will be handled via email using our support ticket system. For more detailed information on this change, please see this blog post.

Make checkbox active on page load

  1. I've got a form on a contact page http://docs.gomysites.com/MZMi/o Is it possible to have 1 of the checkboxes ticked from a link from another page.

    e.g. if i have a link on the homepage to the contact page, is there a way to have 1 of the checkboxes active from clicking on the link. So if i clicked a link on the hoempage saying "Get a free audit" when you land on the contact page its like this:

    http://docs.gomysites.com/MaMC/o

    Thanks

    Posted 11 years ago on Thursday January 31, 2013 | Permalink
  2. To check the box on form two, based following a link from form one, you need to "Allow field to be populated dynamically". That is a checkbox on the advanced tab for your field in form two. Once you do that, you will be given the opportunity to give it a parameter name. You could call it "audit". Then, for form one, you can use the "Redirect" confirmation option, and then send the query string with the parameter name of "audit" and your merge tag value. This is on the Confirmation tab of your form. Once you do that correctly, the submission of form one will complete and send the visitor to form two, with the checkbox pre-checked.

    The URL which directs the visitor to form two might look something like this:
    http://gravity.chrishajer.com/family-reunion-rsvp/?st=Florida

    Where st is equivalent to your "audit" parameter. You will see that Florida is pre-checked when that form is displayed.

    You can read more about dynamic population here:
    http://www.gravityhelp.com/documentation/page/Using_Dynamic_Population

    Posted 11 years ago on Saturday February 2, 2013 | Permalink