• Resolved keithschm

    (@keithschm)


    I added to my Form Code:

    <script>  
    html_forms.on('submit', function(formElement) {
       alert("Hello! I am an alert box!!");
      console.log("hello");
    });
    </script>
    

    but I get (index):135 Uncaught ReferenceError: html_forms is not defined

    • This topic was modified 1 year, 11 months ago by keithschm.
Viewing 1 replies (of 1 total)
  • Can you try either adding “on dom ready” or adding this code to the end of the page instead of in the header. I think it may be executing before HTML forms is loaded.

    Hope that helps. If you have any questions, please let me know!

Viewing 1 replies (of 1 total)
  • The topic ‘Uncaught ReferenceError: html_forms is not defined’ is closed to new replies.