Skip to main content

Notifications

Customer experience | Sales, Customer Insights,...
Suggested answer

Submit button on marketing form triggers download

(0) ShareShare
ReportReport
Posted on by 40

Hi all, 

I have a landing page marketing form on a website, and I would like to limit of buttons customers needs to press to get a whitepaper. 

Therefore I was thinking, is there a way how to trigger a PDF download when customer presses "Submit" on the marketing form?

Thanks

  • MaiElorym Profile Picture
    MaiElorym 40 on at
    RE: Submit button on marketing form triggers download

    Hi Nya,

    I went with the second option. When the Submit button is clicked, it initiates the download. However, the "Thank you for your submission" does not display and the marketing form is shown as filled out, and the Submit button can't be triggered/pressed again.

    Can you help me out with this?

  • Suggested answer
    Nya Profile Picture
    Nya 29,058 on at
    RE: Submit button on marketing form triggers download

    Hi,

    You can achieve it with adding JavaScript code into Marketing Form.

    Please refer to the following documentation:

    Extend marketing forms using code (Dynamics 365 Marketing Developer Guide) | Microsoft Docs

     

    Or if you have inserted the form into a marketing page, a Redirect URL can be set for the page. It means that you have submit the marketing form on the page, it can jump to the URL you set. So you can set the Redirect URL as the download link you need.

     pastedimage1625017370831v1.png

    If this helped you, I'd appreciate it if you'd mark this as a Verified Answer, which may in turn help others as well.

    Best Regards,

    Nya

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Announcing Our 2025 Season 1 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Announcing Forum Attachment Improvements!

We're excited to announce that attachments for replies in forums and improved…

Vahid Ghafarpour – Community Spotlight

We are excited to recognize Vahid Ghafarpour as our February 2025 Community…

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,979 Super User 2025 Season 1

#2
Martin Dráb Profile Picture

Martin Dráb 230,848 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans