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.

Email First, then additional fields

  1. sweetleafstudio
    Member

    Is it possible to have an email field on the header of a website, then when the user enters their email and hits "go" it take them to another page with additional fields and their email already populated in the email field?

    Posted 11 years ago on Wednesday February 27, 2013 | Permalink
  2. David Peralty

    You would set-up two forms for this, one with just the e-mail field, and then the redirect on submission would go to your second form with the e-mail address in a query string, and the e-mail field settings on the second form would be set to look for that query string (it is in the settings for the field).

    http://www.gravityhelp.com/documentation/page/Using_Dynamic_Population

    Posted 11 years ago on Wednesday February 27, 2013 | Permalink
  3. sweetleafstudio
    Member

    Wow, quick reply!

    Thank you very much! I will be purchasing the developer license.

    Posted 11 years ago on Wednesday February 27, 2013 | Permalink
  4. Lynne Pisan
    Member

    So I just got the developers license but I'm having trouble understanding this.

    I have an email field in the header with a submit button that redirects to a form page with additional fields.

    I have the header email field set to "allow field to be populated dynamically" with a parameter name of "email_address".

    I've appended "/?email_address=value" to the end of the redirect URL.

    After entering an email address and hitting submit, it redirects but populates the field with "value", not the actual email address.

    I know, this is stupid but I'm not sure how bring in the actual value of the field.

    Posted 11 years ago on Wednesday February 27, 2013 | Permalink
  5. Lynne Pisan
    Member

    Can someone walk me through on this? I can't figure this out.

    Posted 11 years ago on Thursday February 28, 2013 | Permalink
  6. sweetleafstudio
    Member

    Can someone PLEASE help me out here?

    This should not be so confusing. I can't understand why I can't figure this out.

    Posted 11 years ago on Thursday February 28, 2013 | Permalink
  7. David Peralty

    In your form settings, under confirmation, you'll want to set a redirect to the other form, and then add in the query string and the merge tag for the fields you want to pull values from. There should be a dropdown to add merge tags to make this part easy.

    Then when a user submits a form, instead of giving a message, it will go to the URL you've set, and include the query string and the value from the field.

    On the second form, you'll want the allow dynamic population to be checked and the value to be the same as the value you set in the query string.

    Posted 11 years ago on Thursday February 28, 2013 | Permalink
  8. Lynne Pisan
    Member

    Thanks a ton David, I appreciate it.
    After a few hours of drilling holes i my head, I somehow figured it out.

    Thanks again!

    Posted 11 years ago on Thursday February 28, 2013 | Permalink