function mvalidate() {

var theForm = document.myForm

if (!validText(theForm.txtEmployerId,"Employer Id", 1, 20,true)) return false
 
if (!validEmail(theForm.txtEmailId,"Email Address", true)) return false

return true;


}