Hi, quick bit of help…
Since the recent update I’ve spent most my time recreating a multi-step script so that it will run without reliance on any inbuilt jquery. As we already load version 1.12 we are trying to keep the pages light by not loading two versions of jquery.
I’ve been trying to submit the form through use of $('.lp-pom-form form').submit();
however this seems to lead to a json error… {"protected_assets":{}}
In the past I’ve come across this problem and my janky solution was to hide the original submit button, replicate it with another button… then once I wanted to submit the form I’d trigger a click on the original button.
I don’t really want to use this as a standard method to programmatically submit forms as it requires a good chunk of setup or specific coding to do…
In this new update how do I programmatically submit a form successfully without use of the inbuilt jquery?