Hide embed script from website source code

  • inquiriesibs
    Asked on May 9, 2024 at 3:22 PM

    Hi


    I have recently started using your services and was wondering that the form is online on showmyrate.org, how can we protect it from being misused as the code seems to be visible on the website page source?



    is there a way each form can be used on the specific domain name mentioned?

  • Arslan JotForm Support
    Replied on May 9, 2024 at 3:48 PM

    Hi inquiries.ibs,

    Thanks for reaching out to Jotform Support. The embed script is secure, and it is normal for the script to appear in the source code. Unfortunately, it is not possible to hide the source code of any webpage. You can use scripts on your website to block the right-click/view page source option on the browser. You can also check this article on how to hide the source code of a website.

    As for your other question, I've moved that to a new thread. You can check that out here.

    Reach out again if you have any other questions.

  • inquiriesibs
    Replied on May 9, 2024 at 3:55 PM
    thanks for replying however when you check the code, you can easily see the
    iframe / js code with the form code and you can easily open the form and
    even fill and complete it
    this could affect form usage and bogus entries to the form
    ...
  • Arslan JotForm Support
    Replied on May 9, 2024 at 4:13 PM

    Hi inquiries.ibs,

    Thanks for getting back to us. I understand. You can follow the guide I shared above to block right-click/view page source option on the browser.

    Another solution would be to enable a password on the form, so only the person who has the password can fill the form. Let me show you how you can enable password:

    • Open your form in Form Builder, in the orange navigation bar at the top of the screen, click on Setting.
    • Click on Show More Option, scroll down to Password Protection.
    • Click on Enable password protection, and set a password.

    Hide embed script from website source code Image 1 Screenshot 20

    Reach out again if you have any other questions.

 
Your Answer