I misnamed the function should have been checkForm(tform)
Normally what one does is put all Form checking logic within 1 function, like checkForm(tform).
That way when the user clicks the button to Submit the form all of the form elements will be checked within that one function.
On your button used to submit put an onclick to checkForm(tform).
Normally what I do is define the button is this way: <input type="button" onclick="checkForm(this.form)" value="Submit"> and let the function do the submit for me.
Hope this helps,
Ken
www.webdesigntips-foreveryone.com