79627086

Date: 2025-05-18 01:20:18
Score: 0.5
Natty:
Report link

Have you added ACF's header to your page ? If not, add this at the very top : <?php acf_form_head(); ?>. It will load their JS script. Then, change your script :

<script>
(function($) {
  $(document).ready(function() {
    acf.unload.active = false;
  });
})(jQuery);
function onSubmit(token) {
        document.getElementById("acf_testi").submit();
}
</script>
Reasons:
  • Has code block (-0.5):
  • Contains question mark (0.5):
  • Low reputation (0.5):
Posted by: Marianne