You could add custom jQuery that re-focuses the e-mail textbox when the confirm textbox is focused if the e-mail is not valid.
$("#confirmTextBox").focusin(function() {
if (!emailIsValid())
{
$("#emailTextboxID").focus();
}
});
where emailIsValid() is a method of your own.
If you want to prevent the user's actions even more, you could do that on Blur of the mail textbox (which would mean he could not focus anything else on the page until the e-mail is valid).
$("#emailTextboxID").blur(function() {
if (!emailIsValid())
{
$(this).focus();
}
});
Finally, you can also disable the tab key:
//disable the tab key
$(document).keydown(function(objEvent) {
if (objEvent.keyCode == 9) { //tab pressed
objEvent.preventDefault(); // stops its action
}
})