Migrate from WixForms to WixFormsV2

As of April 2025, WixForms is deprecated and any new forms created will only work with WixFormsV2. You can access the functionality of WixForms using WixFormsV2.

Old forms will only work with the old APIs: WixForms, WixFormSubmitEvent, WixFormSubmittedErrorEvent, and WixFormSubmittedEvent. You can see which forms are old forms and which are new forms by looking at the forms and submissions page in a site dashboard, where there's a tab for each.

Below is a list of the deprecated WixForms components and functions and their alternatives in WixFormsV2.

collapsed

Instead of collapsed from WixForms, use collapsed from WixFormsV2.

hidden

Instead of hidden from WixForms, use hidden from WixFormsV2.

isVisible

Instead of isVisible from WixForms, use isVisible from WixFormsV2.

onWixFormSubmit()

Instead of adding onWixFormSubmit() from WixForms to run when a site visitor starts to submit a Wix Form yet before the form is actually submitted and sent to the server, use onSubmit() from WixFormsV2.

onWixFormSubmitted()

Instead of adding onWixFormSubmitted() from WixForms to run when a site visitor submits a Wix Form and it is successfully received by the server, use onSubmitSuccess() from WixFormsV2.

onWixFormSubmittedError()

Instead of adding onWixFormSubmittedError() from WixForms to run when a site visitor is not able to successfully submit a Wix Form to the server, use onSubmitFailure() from WixFormsV2.

collapse()

Instead of calling collapse() from WixForms to collapse an element and sets its collapsed property to true, use collapse() from WixFormsV2.

expand()

Instead of calling expand() from WixForms to expand an element and sets its collapsed property to false, use expand() from WixFormsV2.

hide()

Instead of calling hide() from WixForms to hide an element and sets its hidden property to true, use hide() from WixFormsV2.

show()

Instead of calling show() from WixForms to show an element and sets its hidden property to false, use show() from WixFormsV2.

Did this help?