This works perfectly fine and i know that I can add dozens of fields to validate on the same way and it will do this with no problems. However, I was looking for a way that i can group all these validation at the end of the function, the display all that fail validation in one box on submit as oppose to 10 alerts for 10 fields and take the focus back to the first field that fail the validation.
if (document.forms.productno.value == "")
alert('Please enter a value in the hose serial no field.');
onsubmit return validRequired()
This is a notes client that i am trying this valiation on.