I'm making a website with a form. After the submit button is clicked 15 times I want the website to automatically redirect to another page.

Does anyone know how to go about doing this? Thanks!

Hey!

So basically you need to set up a click counter?
You can create an onClick event that update a record in the database which represented the number of clicks in the button.

This video can be helpful too:
https://youtu.be/MTBVyk0YGv0

Also check out this thread:
https://www.wix.com/corvid/forum/community-discussion/click-counter-2
and these:
https://www.wix.com/corvid/forum/community-discussion/view-count-click-count
https://www.wix.com/corvid/forum/community-discussion/click-counter

With some coding logic you can check if a button was clicked a certain amount of times (eg with an if statement : if(buttonclicked > 15){ redirectuser} )

To redirect your users you can use wix location: https://www.wix.com/corvid/reference/wix-location.html#to