Previously in the Out bound marketing forms - you could use javascript and
MsCrmMkt.MsCrmFormLoader
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
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.
Thank you,
Petr