[SOLVED] TypeError: $w(...).onWixFormSubmit is not a function

Ah thank you! This was the solution. My function was not in $w.onReady.

Once I put it into my onReady function the error went away thank you!