Hi there,
I've installed the Confirm Email Address Entry plugin which work great. (http://www.zen-cart.com/downloads.ph...do=file&id=107)
I would like to push it a little bit further since the email address validity is really important for this store purposes (updates and files will periodically be send by email) and I understand the points in all the discussions about the email verification in the account creation, and I agree with them.
So, I would like to remove the possibility to make a copy paste in the second field of the email confirmation.
I found way on a php website which is the following:
First include the jquery file in between the <head> tag.
Code:
<script type="text/javascript" src="http://code.jquery.com/jquery-1.4.2.min.js"></script>
Then add the following code to the <head> tag, below the include script.
Code:
<script type="text/javascript">// <![CDATA[
$(document).ready(function () {
$('#id_of_textbox').bind('copy paste', function (e) {
e.preventDefault();
});
});
// ]]>
</script>
But, and that's probably a really stupid question, where is the <head> tag?
Bookmarks