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.

Best Practice for displaying form data on frontend?

  1. Hi GravityForms,

    I'm really sorry if I'm missing documentation or another thread that says this, but I've looked quite a bit.

    I've seen some threads asking how to query form entries and display them on the frontend, though a lot of them are quite old. I know I can create posts from form entries, but in my current application, that seems like overkill.

    Is there an "official" or at least "unofficial but recommended" means of querying these entries and displaying them?

    I've seen a few ways to do it with internal GForms functions and the wpdb class, but I'd love an official "this is what we recommend you do" answer to guide my development.

    I love the plugin and recommend it just about every chance I can. Thanks.

    Posted 11 years ago on Tuesday April 16, 2013 | Permalink
  2. vdifronzo
    Member

    *ditto*

    Posted 11 years ago on Wednesday May 1, 2013 | Permalink
  3. We are in the process of creating a "Front-End Entries Display" add-on (not officially named yet). However, there is an undocumented function that is the best way to return the leads for a form. It will return an array of entries. That function is: GFFormsModel::get_leads()

    You can get more details in the code in forms_model.php circa line 2749.

    Posted 11 years ago on Wednesday May 1, 2013 | Permalink
  4. vdifronzo
    Member

    I'd have to hire someone to implement this for me.
    What's the ETA of the "add-on"?

    Posted 11 years ago on Wednesday May 1, 2013 | Permalink
  5. David Peralty

    We don't give out ETA's as it sets expectations that we might not be able to meet due to external factors (new WordPress versions, developer sick, etc...)

    Posted 11 years ago on Wednesday May 1, 2013 | Permalink