has anyone modified Actinic to reject orders from free email providers?
cheers
Greg
cheers
Greg
<input type="TEXT" name="INVOICEEMAIL" id="email1" size="20" maxlength="255" value="NETQUOTEVAR:INVOICEEMAIL"> <script language=JavaScript> <!-- var invalidaddress=new Array() invalidaddress[0]="hotmail" invalidaddress[1]="gmail" invalidaddress[2]="yahoo" function checkemailaddress() { var myString = document.getElementById('email1').value var tempstring=myString.split("@") tempstring=tempstring[1].split(".") invalidcheck=0 for (i=0;i<invalidaddress.length;i++){ if (tempstring[0]==invalidaddress[i]) invalidcheck=1 } if (invalidcheck==1) { alert('Unfortunately we do not accept orders using free emails such as yahoo, hotmail and gmail due to the amount of fraudulent orders using these accounts'); return false; } return true; } //--> </script>
Comment