I write my “onWixFormSubmit” function inside the “$w.onReady” but in frontend I am getting a type error that “onWixFormSubmit is not a function”. How to fix that?
From this page I get that code but it’s not working.
Hello! I answered you in Discord but in case you did not see it and for anyone else passing through here…
This is a known issue affecting Studio forms only. Forms have been updated for Wix Studio and there are new API’s coming soon that will remedy your issue. In the meantime, there is a workaround:
- Remove the form you are currently using
- Start with the “Order Form” template
- Adjust to your use case
- Use the wixForms API’s as expected.
1 Like