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.

Presales Question - URL encoding and pre-fill from database

  1. Hi Guys,

    Just a quick question regarding the functionality of the module and the level of customisation available. What i am trying to achieve is the following:

    1. Send email to our user base with a link suffixed with some unique ID &ID=1blah2blah3blah
    2. The form grabs the ID from the URL and uses the ID to grab the record information from a custom table in the WPDB
    3. User confirms info by hitting register button

    Is this possible with Gravity

    Posted 12 years ago on Thursday June 30, 2011 | Permalink
  2. So what you want to do is dynamically populate form fields with data pulled from a custom table based on an ID passed to the form via the query string?

    Yes, this is possible but only as a customization. You would have to write custom PHP to query the data in your custom table. You would then have to write custom PHP using available Gravity Forms API hooks to dynamically populate each field that needs to be populated.

    All of the API Hooks are documented in the Developer Documentation area of the Documentation which you will have access to when you purchase. There are also examples of how to dynamically populate fields in the How To section of the Documentation.

    Posted 12 years ago on Thursday June 30, 2011 | Permalink

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