I suppose you could do it with a little php...
Use required validation on :
<?php echo((isset($_POST['firstField']) && isset($_POST['lastField']) && strtoupper($_POST['lastField']) == strtoupper($_POST['firstField']))?"fail":""); ?>
that should fail required validaiton if the two fields were the same... just a warning though... I knew a kid named "Jackson Jackson" in high school.