Notifications
Announcements
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
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.
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
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.
As AI tools become more common, we’re introducing a Responsible AI Use…
Thanks to all of our 2025 Community Spotlight stars!
These are the community rock stars!
Stay up to date on forum activity by subscribing.
Tom_Gioielli 93 Super User 2025 Season 2
TAHER_El_Mehdi 30
Satyam Prakash 24