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.

Issue submitting user variables / entered data.

  1. Hi guys,

    This looks a lot more complicated than it is but here goes...

    I have an ad path to follow for user registration. The idea is that when a user registers (using a GF) their data is send to an ad server where they are presented offers before coming back to the registration page (with the dynamic data passed to and from).

    The confirmation page looks like this:

    http://a.websponsors.com/c/s=263533/c=228696/m=SUBID/?email={Email:3}&fname={Name (First):2.3}&lname={Name (Last):2.6}&address={Address (Street Address):4.1}&phone={Phone Number:8}&city={Address (City):4.3}&state={Address (State / Province):4.4}&zip={Address (Zip / Postal Code):4.5}&dob={Date of Birth:5}&gender={Gender:6}&hi=http://mysecretvault.co.uk/pet-awards-wp/wp-content/themes/the-pet-awards/images/register-header.jpg&redirect_url=http://mysecretvault.co.uk/pet-awards-wp/wp-login.php?action=register&user_name={Username:7}&firstname={Name (First):2.3}&lastname={Name (Last):2.6}&user_email={Email:3}&gender={Gender:6}&address={Address (Street Address):4.1}, {Address (Address Line 2):4.2}&city={Address (City):4.3}&state={Address (State / Province):4.4}&zip={Address (Zip / Postal Code):4.5}&phone_number={Phone Number:8}&date_of_birth={Date of Birth:5}&regcode=447233273928846

    The data is not being passed to the ad page correctly, therefore not being passed back correctly and the user is not being registered.

    Have I set this up incorrectly / misunderstood how passing user variables works / is there a bug in the plugin?

    The return path comes back to the site as:

    http://mysecretvault.co.uk/pet-awards-wp/wp-login.php?action=register&user_name={Username:7}&firstname={Name (First):2.3}&lastname={Name (Last):2.6}&user_email={Email:3}&gender={Gender:6}&address={Address (Street Address):4.1}, {Address (Address Line 2):4.2}&city={Address (City):4.3}&state={Address (State / Province):4.4}&zip={Address (Zip / Postal Code):4.5}&phone_number={Phone Number:8}&date_of_birth={Date of Birth:5}&regcode=447233273928846

    which leaves a user needing to fill in their info again and data not being passed to the ad company...

    Many thanks,
    James

    Posted 14 years ago on Friday October 16, 2009 | Permalink
  2. James, we would have to see it actually happening on your WordPress install as your form is unique to your site and we don't have the same setup on our end. If you can contact me via the Contact Us form with a username and password for that WordPress install so I could look at it we can see if there is something wrong or if it is a bug. Thanks.

    Posted 14 years ago on Friday October 16, 2009 | Permalink
  3. Hey James,

    I just looked at your Register form settings. You are putting the query string parameters in the wrong place.

    You put the URL in first text input box, and then you put the query string parameters with the form field variables in the textarea that appears underneath the "Pass Field Data Via Query String" checkbox.

    I made the change in your form settings, but i'm not sure how to test it out. Test it out and let me know how it goes.

    We will look into making it backwards compatible in the next release.

    Posted 14 years ago on Friday October 16, 2009 | Permalink
  4. Thanks for all your help Carl!

    Posted 14 years ago on Friday October 16, 2009 | Permalink
  5. net_mage
    Member

    I would be very interested in how you are able to register new users by passing the variables on after the form submission. Any way you would be willing to share that code? Thank you.

    User account manipulation is the only really big thing missing from GF.

    Posted 14 years ago on Tuesday December 22, 2009 | Permalink
  6. net_mage
    Member

    bump?

    Posted 14 years ago on Tuesday December 22, 2009 | Permalink
  7. Hopefully James comes back and see's this... i'm not sure how he was doing it what level of integration he had setup. But he was using the confirmation redirect to pass data to another page.

    Posted 14 years ago on Tuesday December 22, 2009 | Permalink
  8. net_mage
    Member

    yah,

    I'm not too familiar with the wordpress default user account registration process.

    Posted 14 years ago on Wednesday December 23, 2009 | Permalink