Prevent Cut & Paste in Formloom

(LJ) #1

I use formloom for all my forms. Anyone know a way to stop users cutting and pasting their given email address into an ‘enter email again’ box?

I have the Lock2 stack which is great for disabling right-click but can only be used on a stacks page - does not work when importing the Formloom form into a Formloom stack.

I have tried the following javascript:

document.addEventListener("contextmenu", function(e){ e.preventDefault();}, false);

and this works on a site-wide code basis and for individual Stacks pages. However, it doesn’t affect the Formloom page or the import Formloom stack.