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

    Unable to add javascript function in hyperlink code.

    Asked by sjpd on February 01, 2017 at 09:36 PM

    I was not able to include onClick syntax on one of the links.  The onClick syntax gets parsed and removed.  

    I wanted to create a link to a browser pre-sized window for "Accident Report Requests" using this code, but it gets removed.  

    Here's the code:

    Update: It seems I'm unable to include the code...

     

    Thanks for your help.

     

    -Dave

     

     

     

     

    Page URL:
    https://www.jotform.com/build/70316362751957

  • Profile Image
    JotForm Support

    Answered by ashwin_d on February 02, 2017 at 01:33 AM

    Hello Dave,

    Please note that for security reasons it is not possible to add any script code in form. If you add any hyperlink code with javascript function, it will automatically be truncated. 

    Unfortunately it is currently not possible to achieve your requirement.

    Thank you!