Best way to do this is to add a data attribute to the field (textbox) where you want to avoid the cut,copy and paste.
Just create a method for the same which is as follows :-
function ignorePaste() {
$("[data-ignorepaste]").bind("cut copy paste", function (e) {
e.preventDefault(); //prevent the default behaviour
});
};
Then once when you add the above code simply add the data attribute to the field where you want to ignore cut copy paste. in our case your add a data attribute to confirm email text box as below :-
Confirm Email: <input type="textbox" id= "confirmEmail" data-ignorepaste=""/>
Call the method ignorePaste()
So in this way you will be able to use this throughout the application, all you need to do is just add the data attribute where you want to ignore cut copy paste