How can I put this code in the form: onclick

  • Profile Image
    Asked on October 25, 2014 at 12:59 PM
  • Profile Image
    Answered on October 25, 2014 at 01:36 PM

    <a target="_blank" href="***" onclick="****">download</a>

  • Profile Image
    Answered on October 25, 2014 at 08:15 PM


    You will need to use the full source code embed of your jotform to be able to add custom scripts function.

    User guide:


    However, depending on what you wanted to achieve, you may not need to use custom OnClick event just to have download link.. you can just add a link instead or a redirect URL upon form submit.

    If you can provide us more details what it is you wanted to do, we will be able give further suggestion.