• Resolved 39images

    (@39images)


    Hi Zack,

    Is it possible to embed a directory on a page, whereby the user currently logged in can see all the forms they’ve completed?

    We use GFs to collect user registrations for baseball tournaments, and what we’re trying to do is set up a page that says:

    Here are the tournaments you have registered for:

    Ideally, there would be a list of all the forms they’ve filled out (which is basically the same thing as showing them the tournaments they have registered for). I would be really grateful if you could tell me how to accomplish this, and thank you!

    http://wordpress.org/extend/plugins/gravity-forms-addons/

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Zack Katz

    (@katzwebdesign)

    Here’s a MySQL query that works. Then for each of the rows, perform $lead = RGFormsModel::get_lead($entry["id"]); on it.

    global $wpdb;
    $entries = $wpdb->query(
    	$wpdb->prepare("SELECT * from {$wpdb->prefix}_rg_lead where <code>created_by</code> = 1")
    );
    Thread Starter 39images

    (@39images)

    I’m not too familiar with coding. Could you break it down a bit simpler? 🙂 How would this allow me to embed the user-specific directory on a page?

    Thread Starter 39images

    (@39images)

    Could you please tell me where to add the SQL query and what you mean by:

    Then for each of the rows, perform $lead = RGFormsModel::get_lead($entry["id"]); on it. Where do I do that?

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Display all forms completed by a user?’ is closed to new replies.