• Resolved julesrsuarez

    (@julesrsuarez)


    Hi!

    Is there a way to add a link/button on the message body that downloads a PDF file?

    Jules

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter julesrsuarez

    (@julesrsuarez)

    I have added this code but it’s not downloading automatically. It’s just opening the PDF file to another tab”

    <a href="https://www.w3.org/WAI/ER/tests/xhtml/testfiles/resources/pdf/dummy.pdf">
        <button>CONFIRM</button>
    </a>
    Thread Starter julesrsuarez

    (@julesrsuarez)

    I have found the solution:

    <a href="https://www.w3.org/WAI/ER/tests/xhtml/testfiles/resources/pdf/dummy.pdf" download target="_blank" class="button" rel="noopener noreferrer">CONFIRM</a>

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Contact Form 7 Adding Button on Email Notification’ is closed to new replies.