How can I put this code in the form: onclick

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

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

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

    Hi,

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

    User guide: https://www.jotform.com/help/104-How-to-get-the-Full-Source-Code-of-your-Form

     

    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.

    Thanks.