Unable to add javascript function in hyperlink code.

  • sjpd
    Asked on February 1, 2017 at 9: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...

     Unable to add javascript function in hyperlink code Screenshot 20

    Thanks for your help.

     

    -Dave

     

     

     

     

  • Ashwin JotForm Support
    Replied on February 2, 2017 at 1: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!