getConfig( )


Retrieves the configuration of your form submission plugin.

Set your form submission configuration in the return of the getConfig() function. Wix calls this function when you publish your site. Changes to the configuration don't take effect until you publish your site.

There are several apps that use forms. To validate form submission for a specific Wix app, configure the custom plugin's config file for that Wix app by defining the relevant namespace field. For example, the namespace for the Wix Forms app is wix.form_app.form.

Where to find getConfig()

When you add the Form Submission service plugin, a folder is automatically added to your site. Use the -config.js file in the folder to set the default configuration for your implementation of the service plugin.

For more information on setting your configuration, see Tutorial: Form Submission Service Plugin.

Method Declaration
Copy
Request
This method does not take any parameters
Returns
Return Type:Promise<FormSubmissionConfigResponse>
Did this help?