createSubmission( )


Creates a submission.

Note: The Submissions API is only available in Wix Studio and Editor X.

The createSubmission() function is an alternative way to the WixFormsV2 element for submitting a form. In this case, clicking the submit button is unnecessary, the submission is automatically created when calling this function.

Permission Scopes

For app development, you must have one of the following permission scopes:
Manage Submissions
Learn more about permission scopes.
Method Declaration
Copy
Method Parameters
submissionFormSubmissionRequired

Submission to create.


optionsCreateSubmissionOptions

Optional fields.

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