I have one function for validation, a second function for message output how I can run both of them together with a single submit click.
var myform = document.forms.hform;///////hform is name ///////
myform.onsubmit = validation;
myform.onsubmit = exercise;