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.

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>
Errors

This method doesn't return any custom errors, but may return standard errors. Learn more about standard Wix errors.

Did this help?