In order work around some deficiencies in the post forms module, I've had to execute some code when the form loads. However when the form is saved, all the workarounds disappear. Therefore, I need a way to re-execute them when the post form is saved/submitted.
How can I execute a script after the form has been saved?
As you said, you want to run some script after the form is submitted using AJAX. There are no native JS hooks available with AJAX form submit but if you can show me what exactly the script you want to hook-in/reinitialize after you submit the form using AJAX I will check with our Devs to know if is there any workaround.
For that - can you please share the problem URL where you added the form and what script you want to reinitialize and access details.
*** Please make a FULL BACKUP of your database and website.***
I would also eventually need to request temporary access (WP-Admin and FTP) to your site. Preferably to a test site where the problem has been replicated if possible in order to be of better help and check if some configurations might need to be changed.
I have set the next reply to private which means only you and I have access to it.