web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

No record found.

News and Announcements icon
Community site session details

Community site session details

Session Id :
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

I have the same question (0)
  • Suggested answer
    Nya Profile Picture
    29,060 on at

    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

  • MaiElorym Profile Picture
    40 on at

    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?

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Stars!

Congratulations to our 2025 Community Spotlights

Thanks to all of our 2025 Community Spotlight stars!

Leaderboard > Customer experience | Sales, Customer Insights, CRM

#1
ManoVerse Profile Picture

ManoVerse 208 Super User 2026 Season 1

#2
CU11031447-0 Profile Picture

CU11031447-0 100

#3
NeerajPawar Profile Picture

NeerajPawar 80

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans