WooCommerce/WordPress: how hide entire table form after submit (Admin Dashboard)?
So I would take of on your html form the onsubmit()=…, once isnt needed and your javascript function should only have something like this. document.getElementById(“form_1”).style.display = “none”; or document.getElementById(“form_1”).style.visibility = “hidden”; this should do the job, if for some reason it does not, change the onclick from the input to the form tag. Your code … Read more