Welcome to WebmasterWorld Guest from 22.214.171.124
Forum Moderators: open
However I am trying to make this happen throughout my whole website consisting of many forms in many places including a custom made CMS. So with that said I would like to try to add some JS to the head of the page which will detect a form submission. I was thinking maybe setting an event handler to run ever second to see if a form was submitted, but I wasn't sure if that was possible or even the best way to do it?
Personally I don't know any other events that can arise when a form is being submitted. So I think you should add the attribute to every form anyway.