Hi.
I’m having issues with form submission via js on one of our sites - form submission via js has never been a problem until working on this site. For some reason when I run $(‘#Form’).submit(); the page instantly refreshes & url params are added for each field in the form (this isn’t wanted or configured).
Example page: hirefleet | Contact The Self Drive Experts
Test code: $(‘#Contact-Us-Form’).submit();
- I’m having to prevent the default form behaviour from firing upon clicking submit (which is working perfectly) & then I need trigger via js.
Hopefully someone can spot where I’m going wrong as I’ve been going round in circles for hours now.
Thanks
Here is my site Read-Only: LINK
(how to share your site Read-Only link)