Hi Folks
We created a single form for eBook downloads. The form is live on multiple pages in which each has its own related ebook.
Our goal is to redirect the visitor to the right ebook link after form submission. I tried to define multiple "form pages" and each has its own redirect URL. but it seems that its not working.
Is this possible? if so, can you provide any pointers?
Regards and thank you in advance.
Hi Mouda,
Could the solution work for you?
Regards,
Clofly
Hi Mouda,
You can use a full-script solution, this way you avoid to create structure in Dynamics when you add a new eBook.
First you can define a redirect url in your host page that points to your target redirect url:
var redirectUrl = "http://ebookDownloadUrl";
Then you can capture the "afterFormSubmit" event and redirect from there:
MsCrmMkt.MsCrmFormLoader.on('afterFormSubmit', function(event) { window.location.url = redirectUrl; });
Regards,
Carlos
Hi Mouda,
We should also copy the automatically generated script of other form page record to corresponding web page.
Regards,
Clofly
André Arnaud de Cal...
292,031
Super User 2025 Season 1
Martin Dráb
230,868
Most Valuable Professional
nmaenpaa
101,156