I’m wondering if there’s any way I can run a JS function after a visitor clicks the submit button on an acf_form. Ideally, it would pause the form submission process until the function has run.
When Clicking on the “Draft” button overwrite its value as 2. <script type=”text/javascript”> function click_ignore(e) { document.
What is you reason for wanting to run a script before the form is submitted? Maybe there’s another way to do it.