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.

dynamically populating a form, silly question?

  1. I'm a bit confused about the whole dynamically populating of a form.

    I have several events and want to use the title of the event to be the dynamic parameter for when people make a reservation for these events.

    I understand what code I need to add to my functions.php file, but what I don't understand is how I get people from the event page to the reservations page that has the form with the field that then hopefully will become populated dynamically.

    Silly question?

    Posted 11 years ago on Tuesday January 29, 2013 | Permalink
  2. Do you have any of these forms online now where we can see what you're doing?

    Basically, you will mark the field in your form "Allow field to be populated dynamically" and then give it a parameter name (eventtitle?)

    Then, in the link to the form page, on your events page, you will add this to the end of the link:

    http://example.com/my-form-is-here/?eventtitle=Super Awesome Event Tomorrow

    And that will populate the field in your form with the event title "Super Awesome Event Tomorrow".

    Documentation is here: http://www.gravityhelp.com/documentation/page/Using_Dynamic_Population

    Posted 11 years ago on Tuesday January 29, 2013 | Permalink
  3. Hi Chris,
    Thanks for your reply.
    Well that was exactly what I needed! So it's just adding the title (in my case) to the end of the URL that I use for people to click on.
    Cannot show you anything yet as it is all local, but I understand it loud and clear now :)
    Thanks again for your fast response!
    Piet

    Posted 11 years ago on Tuesday January 29, 2013 | Permalink
  4. You're welcome Piet.

    Posted 11 years ago on Wednesday January 30, 2013 | Permalink

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