function IsValidForm(theform) { if(!preferredComm(theform))return; if(!valEmail(theform))return; if(!consent(theform))return; theform.submit(); }