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.

Populating - From 1 form - to other FORMS! - based on a field.

  1. seangrove
    Member

    Say I have a simple capture page NAME EMAIL PHONE and then a radio set of CAR MOTORCYCLE etc. with conditional logic drop down with CONVERTIBLE SEDAN etc.

    So the user selects CAR and then SEDAN. Clicks next.

    Then I would like to redirect To the SEDAN QUOTE FORM. Populating it with EMAIL PHONE etc.

    Anyone tried this?

    Posted 11 years ago on Thursday February 28, 2013 | Permalink
  2. Check out this thread here: http://www.gravityhelp.com/forums/topic/email-first-then-additional-fields

    Posted 11 years ago on Thursday February 28, 2013 | Permalink
  3. seangrove
    Member

    WOW thanks. Fast reply as well.

    Gonna give it a go.

    Posted 11 years ago on Thursday February 28, 2013 | Permalink
  4. seangrove
    Member

    @Rob

    I was looking to copy the email from form 1 to form 2 on the redirect. And not just have 'boom!' inserted. How may I do this. I get the your_parameter part. The Email is "Email" with a capital E.

    1 add_filter('gform_field_value_your_parameter', 'my_custom_population_function');
    2 function my_custom_population_function($value){
    3 return 'boom!';
    4 }

    Posted 11 years ago on Friday March 1, 2013 | Permalink
  5. seangrove
    Member

    NEVERMIND I got it.

    Posted 11 years ago on Friday March 1, 2013 | Permalink
  6. theTeam
    Member

    PLEASE HELP!
    I am having the same problem.
    I have two forms - Form 1, I have set the 'Pass Field Data Via Query String' and get '{Name:1}' I then set 'Allow field to be populated dynamically' to '{Name:1}' on the xecond form. The query string works BUT the field on form two does not get populated.

    The documentation for this is awful.

    Please help!

    Many thanks

    Posted 11 years ago on Friday March 1, 2013 | Permalink
  7. sidelsky
    Member

    I have tried everything. Please I need some help...
    I'm having the same issue.

    Posted 11 years ago on Saturday March 2, 2013 | Permalink
  8. theTeam
    Member

    Please could someone help!

    I have two forms - Form 1, I have set the 'Pass Field Data Via Query String' and get '{Name:1}' I then set 'Allow field to be populated dynamically' to '{Name:1}' on the xecond form. The query string works BUT the field on form two does not get populated.

    Posted 11 years ago on Saturday March 2, 2013 | Permalink
  9. seangrove
    Member

    I know - I want to be able to use 1 form then direct to 68 different forms.

    NOT make one last form with hidden values.

    ANSWER FOR YOU, SIR! IS HERE.
    But from 1 to just 1 other. I have found. In form setting FORM 1
    Check Pass Field Data Via Query String = only to find the query strings to pass on = just the values.

    Then in the redirect above the values insert as SUCH.

    http://YOUSITE.com/PAGE_WITH_SHORTCODE/? Make sure the ? is after it!

    THEN ADD THE PARAMETERS EG.

    fullname={fullname:12}&phone={phone:2}&email={email:3}

    WHERE fullname UNDER THE "Allow field to be populated dynamically" PARAMETER. IS fullname

    SO THE REDIRECT WILL BE: 1 space MEAN YOU ADD IT YOURSELF will mean you must insert into the redirect page and {THIS IS THE FIELD TO BE POPULATED}

    http://YOUR-SITE.com/THE-QUOTE-SHORT-CODE-PAGE/ ? fullname={fullname:12} & phone={phone:2} & email={email:3}

    BE SURE TO DELETE THE MERGE TAGS AFTER YOU GET THEM IN THE TEXT BOX BELOW.
    AS I HAVE SEEN THEM POPULATE THE GET URL IN THE NEXT FORM

    ***** I HOPE THIS HELPS YOU GUYS

    Posted 11 years ago on Saturday March 2, 2013 | Permalink
  10. seangrove
    Member

    So notice the '?' and the '&' have to add it.

    http://YOUR-SITE.com/THE-QUOTE-SHORT-CODE-PAGE/?fullname={fullname:12}&phone={phone:2}&email={email:3}

    Posted 11 years ago on Saturday March 2, 2013 | Permalink
  11. theTeam
    Member

    I'm now even more confused
    I get the the query string in the url BUT I cannot get it to populate the 2 form form field.

    Posted 11 years ago on Saturday March 2, 2013 | Permalink
  12. theTeam
    Member

    So I can get see the query string in the URL but the form field on form 2 does to populate - it just stays blank!

    Posted 11 years ago on Sunday March 3, 2013 | Permalink
  13. There are too many voices in this topic. Anyone other than seangrove please open a new topic for your issue and clearly state the issue you are having and what you want to accomplish. Please include links to the pages on your site with both forms, if you are trying to pass values from one to the other, and let us know how much you have configured already.

    @seangrove if you still need assistance with your original request, please post here again. Thanks for posting your explanation.

    Posted 11 years ago on Tuesday March 5, 2013 | Permalink
  14. sidelsky
    Member

    Problem solved.
    You cannot use the term 'name' within the query string as Wordpress reserves this name so something like this will not work.

    name={name:12} & phone={phone:2} & email={email:3}

    You must change 'name' to something else...

    _name={name:12} & phone={phone:2} & email={email:3}

    Posted 11 years ago on Saturday March 9, 2013 | Permalink
  15. I've run across that problem in the past. I use fullname, or lname or fname now, since it appears that 'name' is reserved. Thanks for posting your work around.

    Posted 11 years ago on Wednesday March 13, 2013 | Permalink