ReferBack.com - Online Casino Affiliate Program, Poker Room Affiliates. function jTrim(inputStringTrim) { fixedTrim = ""; lastCh = " "; for (x=0; x function Validate1() { var ErrMsg=""; document.frmJoinNow.FirstName.value=jTrim(document.frmJoinNow.FirstName.value); if (document.frmJoinNow.FirstName.value=="") { if (ErrMsg=="") document.frmJoinNow.FirstName.focus(); ErrMsg = ErrMsg + "\nFirst Name can not be empty."; } document.frmJoinNow.LastName.value=jTrim(document.frmJoinNow.LastName.value); if (document.frmJoinNow.LastName.value=="") { if (ErrMsg=="") document.frmJoinNow.LastName.focus(); ErrMsg = ErrMsg + "\nLast Name can not be empty."; } if (frmJoinNow.HomeNumber.value+ frmJoinNow.WorkNumber.value+ frmJoinNow.FaxNumber.value+ frmJoinNow.MobileNumber.value=="") ErrMsg=ErrMsg+"\nAt least one contact number must be entered.";var BadPhoneNumber = "[^0-9+*(*)*\-/* *]"; if (frmJoinNow.HomeNumber.value.match(BadPhoneNumber)) ErrMsg=ErrMsg+"\nThe Home number specified is not a val...
|