Contact Form works in Preview but not on published site

Something has changed and I have no idea what!> The contact form on my website was working a couple of weeks ago and now is only working in preview mode. The success message is displayed when the form is loaded on the published site and the ‘submit’ button doesn’t do anything. As I said, all is fine in preview mode. Can anyone help please?

Is it through Wix Forms as Wix Support will help you with that.

Is it a contact form that you have used Wix Code in as this is what this forum is for.

What is your code? Is your submit button onclick event turned on in the properties panel or is it done through the code itself? Is it connected to your dataset?

Oh sorry, I’ll contact Wix Support. Cheers