I may be on a newer version of 7.4.6 as it has the verify email option. That said, what I have is this:
var regex=/[^@]+@[^@]+\.[a-z]{2,}$/i;
chkfocus(!regex.test(frm.email.value),frm.email,"<?php print jscheck($GLOBALS['xxValEm'])?>");
<?php if(@$GLOBALS['verifyemail']){ ?>
chkfocus(!regex.test(frm.email2.value),frm.email2,"<?php print jscheck($GLOBALS['xxEmVerf'].'\n\n'.$GLOBALS['xxValEm'])?>");
chkfocus(frm.email.value!=frm.email2.value,frm.email2,"<?php print jscheck($GLOBALS['xxEmNoMa'])?>");
<?php }
} ?>
CHANGE TO
var regex=/[^@]+@[^@]+\.[a-z]{2,}$/i;
if(frm.email.value=="
sample@email.tst") {
window.location.href="https://ih1.redbubble.net/image.717939983.4497/flat,750x,075,f-pad,750x1000,f8f8f8.u6.jpg";
return(false);
}
else chkfocus(!regex.test(frm.email.value),frm.email,"<?php print jscheck($GLOBALS['xxValEm'])?>");
<?php if(@$GLOBALS['verifyemail']){ ?>
chkfocus(!regex.test(frm.email2.value),frm.email2,"<?php print jscheck($GLOBALS['xxEmVerf'].'\n\n'.$GLOBALS['xxValEm'])?>");
chkfocus(frm.email.value!=frm.email2.value,frm.email2,"<?php print jscheck($GLOBALS['xxEmNoMa'])?>");
<?php }
} ?>
so I make no promises at this point. Make sure you have the most current version of 7.4.6 and backup the vsadmin/incart.php file. Let me know if it works.