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

Is it inside $w.onReady ? Is inside another event handler?