countSubmissions( )


Counts the number of submissions belonging to the specified forms.

The countSubmissions() function is useful for analytics and tracking purposes. For example, if you have a contact form on your website, you can use this function to track how many submissions it receives daily, weekly, or monthly.

Authentication

This function requires elevated permissions and runs only on the backend and on dashboard pages.

Permissions
Manage Submissions
Manage Orders
Read Orders
Read Submissions
Learn more about app permissions.
Method Declaration
Copy
Method Parameters
formIdsArray<string>Required

Form IDs which submissions should be counted.


namespacestringRequired

The app which the form submissions belong to. For example, the namespace for the Wix Forms app is wix.form_app.form. Call getSubmission() to retrieve the namespace.


optionsCountSubmissionsOptions
Returns
Return Type:Promise<CountSubmissionsResponse>
Was this helpful?
Yes
No