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.

Passing variable from form to confirmation page

  1. wecomm
    Member

    I just need one bit of advice. When the user completes the one-page form, they're redirected to a confirmation page where I have an aweber opt-in form. I'm trying to get the email address to pass from the gravity form to the confirmation page and pre-populated in the opt-in email input area (name="email" value= "") so that the user simply clicks submit to opt-in.

    I've set the form to pass the data (email={Email:1}), but it's not pre-populating my form? The email address is showing up in the url when it redirects, but it shows up as websiteurl.com/confirmation?myemail%404gmail.com, instead of myemail@gmail.com. I'm not sure if this is typical or not. Any idea what I'm doing wrong? Thanks!

    Posted 13 years ago on Tuesday October 11, 2011 | Permalink
  2. Hi wecomm,

    Is the aweber opt-in form powered by Gravity Forms? If not, you'll Gravity Forms wouldn't auto-populate the field with the query variable but you could write a little code that pulls the query variable from the URL and adds it the field.

    In regards to the "%40", this is how the @ symbol is encoded for URLs. If you are populating this back into a field, it will automatically display as a @ in the field itself.

    Posted 13 years ago on Tuesday October 11, 2011 | Permalink