Skip to main content

Notifications

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

Anyone have a solution for Real Time Marketing Form (Preview) on submit redirect with parameters?

Posted on by 90

Previously in the Out bound marketing forms - you could use javascript and

MsCrmMkt.MsCrmFormLoader

https://github.com/MicrosoftDocs/dynamics-365-customer-engagement/blob/main/ce/marketing/developer/marketing-form-client-side-extensibility.md

to control the redirect url after a marketing form was submitted. Real-time marketing forms (I realize it's in preview) do not honor this. You're only option is to put a static URL in the redirect options when setting up the form. Has anyone come up with a solution to pass parameters to this url or a JS solution to put on the form to reconize when the form was submitted - then a js redirect to the confirmation page?

Thanks

  • Suggested answer
    Petr Jantac Profile Picture
    Petr Jantac on at
    RE: Anyone have a solution for Real Time Marketing Form (Preview) on submit redirect with parameters?

    Hello,

    You are correct, the same mechanism isn't currently supported in the Preview of RTM forms. We will add custom events handling like this in the future. You can use a workaround in the meantime: the form element has data-redirecturl attribute, which you can dynamically update using Javascript to redirect user to the desired page.

    pastedimage1678807702959v1.png

    Thank you,

    Petr

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

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Community AMA December 12th

Join us as we continue to demystify the Dynamics 365 Contact Center

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,240 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,149 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans