About the Form Submission Service Plugin

Important:

When developing websites or building apps with Blocks, use Velo service plugins.

As a form submission provider, you can integrate with Wix to allow Wix users to request and use your services on their Wix sites. By integrating your service with Wix, the service validates and submits a site visitor's form.

The integration is done via an app in the Wix App Market (created in the app dashboard) and by implementing the Form Submission service plugin. After the app is installed on a site, Wix triggers a call to your service whenever a form is submitted on the site.

Learn more about implementing a service plugin with Wix.

Before you begin

It's important to note the following before starting to code:

  • The Form Submission service plugin only works with the Wix Forms app. Call GetAppInstance to confirm that the app named wix_forms is installed on the site.
  • There are several apps that use forms. To validate form submission for a specific Wix app, configure your app in the app dashboard and define the relevant namespace field in the extension. For example, the namespace for the Wix Forms app is "wix.form_app.form".

Use cases

Using the service plugin, you can design your app to validate a form after a site visitor submits it, including:

  • Field validations: Check if the email address is in the correct format or that the name contains only alphabetic characters.
  • Prevent submission of invalid data: Disable the submit button until all fields are correctly filled out.
  • Real-time feedback: Highlight the invalid fields.
  • Prevent duplicate submissions: Check for duplicate submissions based on certain criteria and prevent site visitors from submitting the same form multiple times.

Terminology

  • Submission: Data received when a site visitor submits a form.
  • Validation: Process that makes sure the information that the site visitor put into a form is correct and meets certain rules.
  • Form: Online interface that allows site visitors to input and submit data.

See also

Did this help?