• This code renders a hyperlink of a pdf file.
    [link pdf][field title][/link]

    But I want when a user clicks the hyperlink that they would be prompted to download the pdf. This code below would do that.
    <a href="Name or url of PDF" download="Name or url of PDF">[field title]</a>

    How can I use the [link][/link] Custom Code to force a download of the pdf file?

The topic ‘Link force file download’ is closed to new replies.