What is JotForm?
JotForm is a free online form builder which helps you create online forms without writing a single line of code. No sign-up required.

At JotForm, we want to make sure that you’re getting the online form builder help that you need. Our friendly customer support team is available 24/7.

We believe that if one user has a question, there could be more users who may have the same question. This is why many of our support forum threads are public and available to be searched and viewed. If you’d like help immediately, feel free to search for a similar question, or submit your question or concern.

  • Profile Image

    Why onclick="code" Auto Remove on Email Notification

    Asked by aduh on August 09, 2015 at 02:08 PM
  • Profile Image
    JotForm Support

    Answered by EltonCris on August 09, 2015 at 06:50 PM

    That's simply because Jotform don't support javascript events on the form as well as on email notifications. That's why it is stripped off. This is done for security reasons, e.g. to filter XSS codes which are very rampant nowadays using onclick and other similar events.

    Hope this clears your question.

  • Profile Image

    Answered by aduh on August 10, 2015 at 03:43 AM

    but I do not intend to.
    My goal is good.
    please help me, because I really need a site to call javascript onclick on site

  • Profile Image
    JotForm Support

    Answered by ashwin_d on August 10, 2015 at 06:55 AM

    Hello aduh,

    Unfortunately it is not possible to add any script code in form or email alert. I agree that your goal is good but our system does not allow this for security reasons. If you add any script code it will be deleted automatically.  

    Thank you!

  • Profile Image

    Answered by aduh on August 10, 2015 at 01:45 PM

    Thank you for the answer
    I think (onclick) are inserted into the code <a> not categorized javascript