Why onDISABLEDclick="code" Auto Remove on Email Notification

  • aduh
    Asked on August 9, 2015 at 2:08 PM
    Jotform Thread 633152 Screenshot
  • Elton Support Team Lead
    Replied on August 9, 2015 at 6: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.

  • aduh
    Replied on August 10, 2015 at 3: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

  • Ashwin JotForm Support
    Replied on August 10, 2015 at 6: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!

  • aduh
    Replied on August 10, 2015 at 1:45 PM

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