Prevent download of image on a form

  • Profile Image
    lulrich
    Asked on August 09, 2019 at 08:36 AM

    Does anyone know whether I can prevent downloading an image I have embeded in one of my jotforms? I would prefer my user not to be able to right click and then download. I know there are ways on regular websites, but don't know if that functionality is doable right from the form interface somehow?


    (Perhaps if there is a way to embed javascript on a jotform? I will check that next)

  • Profile Image
    ashwin_d
    Answered on August 09, 2019 at 09:47 AM

    Unfortunately it is currently not possible to add JavaScript code in form for security reasons. 

    I would suggest you to please download your form's full source code and then add custom JavaScript code to prevent right click on the form. The following guide should help you how to download your form's full source code: https://www.jotform.com/help/104-How-to-get-the-Full-Source-Code-of-your-Form

    Hope this helps.

    Do get back to us if you have any questions.