createSubmission( )


Creates a submission.

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.

Permissions
Manage Submissions
Learn more about app permissions.
Method Declaration
Copy
Method Parameters
submissionFormSubmissionRequired

Submission to create.


optionsCreateSubmissionOptions

Optional fields.

Returns
Return Type:Promise<FormSubmission>
Errors
400Invalid Argument

There is 1 error with this status code:

404Not Found

There is 1 error with this status code:

428Failed Precondition

There are 2 errors with this status code:

503Unavailable

There is 1 error with this status code:

See the entire list and learn more about Wix errors.

Did this help?