Form: Protection against the copy / paste forms.

  • Profile Image
    Lignelgbt
    Asked on August 29, 2013 at 11:59 AM

    Hello

     

    I want to set up a protection against the copy / paste forms.

     

    is that possible?

     

    thanks 

  • Profile Image
    jedcadorna
    Answered on August 29, 2013 at 12:52 PM

    Good day,

    Just want to clarify about your concern, What you meant about copy/paste form is viewers won't be able to right click and copy and paste the value inside the form right? or protection against cloning of the form?

     

    Thanks,

    Jed

  • Profile Image
    Lignelgbt
    Answered on August 29, 2013 at 06:09 PM

    Hello

     

    To answer your question, the two preference options

     

    Thanks

  • Profile Image
    jedcadorna
    Answered on August 29, 2013 at 08:41 PM

    Hello Liqnelqbt,

    A work around can be done to protect the form so that it wont be copied you can follow this guide on how you can get the source code of the form https://www.jotform.com/help/104-How-to-Download-a-Source-Code-of-your-Form. With regards to cloning the form if a user has a jotform account, as of the moment that feature has been forwarded to our developers for future update but we cannot assure you that this feature can be implemented anytime soon. We will update you once this feature has already been implented. What the code does is it only protects the page or form from doing the right click ang copy / paste of the content.

     

    protect

     

    Paste this code on your web page source:

    <script language=JavaScript> 

    var message="Function Disabled!"; 

    function clickIE4(){ 

    if (event.button==2)

    { alert(message); return false; } } 

    function clickNS4(e){ 

    if (document.layers||document.getElementById&&!document.all){ 

    if (e.which==2||e.which==3){ alert(message); return false; } } } 

    if (document.layers){ document.captureEvents(Event.MOUSEDOWN); document.onmousedown=clickNS4; } 

    else if (document.all&&!document.getElementById){ document.onmousedown=clickIE4; } document.oncontextmenu=new Function("alert(message);return false") 

    </script>

    Let me know if this one helps.

    Thanks,

    Jed