Hi @Mattg1 ,
Doesn’t look to be anything wrong with it to me. Are there any console errors when the page loads (you probably already know this, but right-click => inspect to load the dev tools in Chrome)?
Is JQuery being loaded on the page, and using its default $ namespace? Otherwise that $form reference won’t work and could be the problem.
If you can share a test page that would be helpful to help debug a bit further (if you can!)
Cheers,
Mike
---
Did I answer your question? If your question is answered, please mark it as a solution. If you need more help, hit that big orange ‘Reply’ button!