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.

Show Entry Counts

  1. Would you be able to outline how we can display the # of Entries a form has had on the front end?

    Posted 11 years ago on Monday January 14, 2013 | Permalink
  2. Here is the function you can use to get the number of entries and display it wherever you want in your site:

    [php]
    $entry_count = RGFormsModel::get_lead_count($form['id'], "", null, null, null, null);

    This is what the parameters are (from forms_model.php around line 2694):

    [php]
    get_lead_count($form_id, $search, $star=null, $read=null, $start_date=null, $end_date=null, $status=null)
    Posted 11 years ago on Monday January 14, 2013 | Permalink