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

Community site session details

Session Id :
Customer experience | Sales, Customer Insights,...
Suggested answer

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

(0) ShareShare
ReportReport
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

I have the same question (0)
  • Suggested answer
    Petr Jantac Profile Picture
    Moderator 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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Abhilash Warrier – Community Spotlight

We are honored to recognize Abhilash Warrier as our Community Spotlight honoree for…

Leaderboard > Customer experience | Sales, Customer Insights, CRM

#1
Rishabh Kanaskar Profile Picture

Rishabh Kanaskar 258

#2
MVP-Daniyal Khaleel Profile Picture

MVP-Daniyal Khaleel 164

#3
Tom_Gioielli Profile Picture

Tom_Gioielli 121 Super User 2025 Season 2

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans