Would you be able to outline how we can display the # of Entries a form has had on the front end?
Would you be able to outline how we can display the # of Entries a form has had on the front end?
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)