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.

Allow field to be populated dynamically "Question"

  1. zx7md
    Member

    Is that possible have two unique forms on the website and after I complete the first one and submit the information a confirmation message with a text and a link to apply to another form, if I click yes the link will take me to the other form and some of my entries already been populated, like name, address ?
    It is possible? How?

    Any ideas?
    Thanks!

    Posted 12 years ago on Tuesday October 2, 2012 | Permalink
  2. David Peralty

    Hi zx7md, you could do this many different ways, but basically, you could have it set-up using the "allow field to be populated dynamically" option on fields in your second form to have a check mark, and then in your confirmation message, when building your link to the second form, you could have merge tags relating to the values of the fields submitted. So like:

    http://site.com/form2/?name={name:3}&phone={phone:5} and then if you have it set-up correct on the receiving form, it will take those values and put them in fields.

    Read more on this here: http://www.gravityhelp.com/documentation/page/Using_Dynamic_Population

    Posted 12 years ago on Tuesday October 2, 2012 | Permalink
  3. zx7md
    Member

    Wow I can not believe it!!! It can be done!!! I will try and let you know.

    Thank you so much David! You made my day!!! big time!

    Posted 12 years ago on Tuesday October 2, 2012 | Permalink
  4. zx7md
    Member

    But David I don't know if the customer will choose form 1 or 2 to stared.
    Any ideas?

    Posted 12 years ago on Tuesday October 2, 2012 | Permalink
  5. David Peralty

    You'll have to give me more information, as I don't know what you mean by your last post.

    Posted 12 years ago on Tuesday October 2, 2012 | Permalink
  6. zx7md
    Member

    Sorry David...

    I have 2 forms on my website. One is for motorcycle and the other for a car.
    I put on the Allow field to be populated dynamically:
    (FieldParameter Name)
    1:: First: first_name
    2: Last: last_name

    I made the url: http://www.mysite.com/my_form_name/?first_name={first_name}&last_name={last_name}

    It is sending the data to the other form in the correct place but with this format " {first_name} {last_name} ". I thought will add the person real name and last name.

    What I'm doing wrong? I notice I don't have an idea about the =value? where can I find it?
    Thanks David!

    Posted 12 years ago on Tuesday October 2, 2012 | Permalink
  7. David Peralty

    The values would come from the first form. So they've filled out their first name and last name, and each field submitted has a merge tag. That is where that value comes from, as per the details in the link I sent you. If you could show me your two forms, that might help me better understand and provide suggestions.

    Posted 12 years ago on Tuesday October 2, 2012 | Permalink
  8. zx7md
    Member

    I tried everything... The data is not passing thru another form.
    The link ..../?first_name={first_name:1}&last_name={last_name:1} It just telling the field (Name and Last Name to be populated with {first_name:1} and {last_name:1} and nothing else.

    My Settings are:
    The Form ID 1 it has:
    Allow field to be populated dynamically(?) = (not selected) and the Confirmation Message (text) with a link to the Form 2 : http://www.website.com/form_name/?first_name={first_name:1}&last_name={last_name:1} ( I think this format is wrong )

    The Form 2 has:
    Allow field to be populated dynamically(?) (selected) as Field Parameter Name = "First = first_name" and "Last = last_name"

    What I'm doing wrong?????

    Any help I really appreciate it

    Posted 12 years ago on Wednesday October 3, 2012 | Permalink
  9. @zx7md, if you would like someone to log in and take a look at how this is configured, please send a WordPress administrator login to chris@rocketgenius.com and I can take a look at it. It sounds like a configuration issue: maybe something simple is missing.

    Posted 12 years ago on Wednesday October 3, 2012 | Permalink
  10. zx7md
    Member

    Hi Chris!
    I sent you an email, could you please let me know if you got it?

    Posted 12 years ago on Wednesday October 3, 2012 | Permalink
  11. I have your email and I will take a look at this today.

    Posted 12 years ago on Wednesday October 3, 2012 | Permalink
  12. zx7md
    Member

    Ok! thank you Chris!

    Posted 12 years ago on Wednesday October 3, 2012 | Permalink
  13. You have to use the merge tags from the drop down, not craft your own merge tags based on the parameter names. Your link looked like this:

    http://example.com/page/?first_name={first_name}&last_name={last_name}

    I'm not sure where your merge tags came from, but they did not come from the drop down. Maybe you typed them in manually?

    I changed it to this using the merge tags directly from the drop down:

    http://example.com/page/?first_name={Name (First):1.3}&last_name={Name (Last):1.6}

    Then I submitted from the preview, and the second form was populated with First and Last name. You should have two test submissions from me. There is nothing else for you to do; it should be working.

    Posted 12 years ago on Wednesday October 3, 2012 | Permalink
  14. zx7md
    Member

    "I'm not sure where your merge tags came from, but they did not come from the drop down. Maybe you typed them in manually?
    Yes I did

    I don't know how to get the merge tags from the drop down, could you please let me know?

    Posted 12 years ago on Wednesday October 3, 2012 | Permalink
  15. It's on the form Settings page, Confirmation tab. There is a drop down called "Insert Merge Tag". Screenshot: http://minus.com/lAMc8psqJ7rUl

    That is where I got the merge tags for your form. You made things harder on yourself than you needed to. The functionality is all present in the form builder.

    Posted 12 years ago on Wednesday October 3, 2012 | Permalink
  16. zx7md
    Member

    I know Chris! I was going crazy! but thank you so much for all your help! God Bless you my friend!

    Posted 12 years ago on Wednesday October 3, 2012 | Permalink
  17. You're welcome.

    Posted 12 years ago on Wednesday October 3, 2012 | Permalink

This topic has been resolved and has been closed to new replies.