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.

Having a Gravity Form accept data from a previous non-Gravity form

  1. Hopefully I explain this right.

    We have a website with products. These product pages were built using the ACF plugin (advanced custom fields). The pages look pretty nice. You pick options that modify price, etc.

    What I'm trying to do is take data entered in this form and pass it to the next form which is a Gravity contact form. If both forms were designed with Gravity, I know this wouldn't be a problem. But that isn't the case. Is it possible to take data entered in a non-Gravity Form and pass it to a hidden field(s) (or textbox) in a Gravity Form?

    Posted 11 years ago on Thursday September 13, 2012 | Permalink
  2. David Peralty

    You could use query strings for this, and the allow populate dynamically option on fields in Gravity Forms. Otherwise, you'll need to do some cool PHP stuff by grabbing the form submission and then pre-rendering the form fields with the details.

    Posted 11 years ago on Thursday September 13, 2012 | Permalink
  3. This seems to work perfectly with parameters with no spaces. Is there a special format or syntax to slap in a parameter name with a space?

    I know the query string URL puts pluses instead of spaces, but that didn't work either.

    Posted 11 years ago on Thursday September 13, 2012 | Permalink
  4. Nevermind. :) Looks like it was expecting underscores. Thanks again.

    Posted 11 years ago on Thursday September 13, 2012 | Permalink
  5. David Peralty

    Glad to hear you sorted it out.

    Posted 11 years ago on Thursday September 13, 2012 | Permalink
  6. Hi,
    I need to do something like this:
    The user fill the field "Line" with the product line.
    A function search on a database for this code and fill a dropdown with the results of the sql.
    There is possible? How?

    Posted 11 years ago on Thursday September 13, 2012 | Permalink
  7. David Peralty

    You would have to custom code something like that Leonardo. Gravity Forms doesn't have anything that would do those things on its own.

    Posted 11 years ago on Thursday September 13, 2012 | Permalink