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.

How to develop a read-only list of entries submitted by each customer?

  1. How can I extract and filter a list of entries submitted to a form for front-end display purposes?
    Any pointers on how I could implement this on a custom page?

    I understand the currently Gravity Forms does not support displaying results of the submitted entries, but what I'm looking for here are pointers on how could I got about implementing this on my side.

    A client of mine has as few affiliates that log in to his site with "subscriber" role level users and submit reservation requests through a Gravity form. He'd like to present to his affiliates a table with a list of *their* most recent submissions (each affiliate can only see his own submissions).

    In short:
    - the form is on a page that is only accessible to logged in users (using the "Members" plugin).
    - the form has a hidden field "code" which defaults to the {user_login} value.
    - the listing must display *only* the entries where the field "code" equals the currently logged in user ("hacking" the "gf_search" param won't probably work because theres is a free text "observations" field and search works all the fields).

    I'm currently using WP 3.1.2 and GF 1.5.2.8.

    Posted 8 years ago on Thursday July 14, 2011 | Permalink
  2. I did something similar in the past, extracting information from Gravity Forms entries.

    http://www.gravityhelp.com/forums/topic/show-data-on-website-from-one-specific-form-possible#post-16203

    It relies on the the Gravity Forms Add-on to get the data from the entries. In your case, you will need to restrict the entries returned to the logged in member.

    1. Using the members plugin to restrict access to a page is fine
    2. the logged in user is captured by Gravity Forms already, so there's no need to use a hidden field.
    3. displaying entries for the logged in user only is up to you to implement in your code.

    It's all pretty easily doable with a little work on your part. Check out the reply I linked and let me know if you have any questions.

    Posted 8 years ago on Friday July 15, 2011 | Permalink