DOCUMENTATION

  • Developer
  • Submissions
Search »

showSubmissionCount()

This function displays the number of submissions in a form. It takes a second optional View ID parameter that limits the count to those results in a particular View. This is only needed for those instances where you've created a View that uses a filter to show a subset of the form submissions, e.g. the number of male applicants or the number of submissions that have been sent to a particular department in your company.

The function takes the following required parameters:

Or, if you're specifying a View:

You would call it in your webpage (a PHP page) by embedding the following code. Note that you'll need to replace 4 and 6 with your form and View IDs:

To use the submission count value in your own code, just store it in a variable, like so: