I have created some input fields and a 'submit' button and enclosed them within <form onsubmit="..."></form> tags. I have added the 'onsubmit' to the form so that it will call a validation function, but the onsubmit is never triggered. It appears that the 'submit' button never executes it's submit functionality. Why?