Try our conversational search powered by Generative AI!

Receiving errors while redirecting user after form submission


Hi everyone, 

I need to show an online form on every page of my site. After the user submits the form, I want to redirect them to another page URL. 

On the home page, I add a ContentArea property and add a form to the ContentArea. 

On the _Root page, I use the Html.DisplayFor to render the ContentArea property.

When I go to the home page, I can see my form created:

However, if I submit the form, I'm receiving the following error:

I'm using the default redirection setup from Episerver Form. The error disappears if I remove the redirection URL from the form settings.

Also, if I move the Html.DisplayFor from the _Root layout to the Home view, I don't receive any error after submitting the forms. However, I don't want to repeat it on every view but I want to add it to the Root layout.

Has anyone experienced the same issue and how did you fix it?



Edited, Jul 12, 2018 5:51

This sound like a bug to me, please report it to

Jul 12, 2018 7:53

Thank you Henrik. I've logged it to support. 

Jul 12, 2018 8:01

What version of CMS are you using?

Jul 18, 2018 16:10
* You are NOT allowed to include any hyperlinks in the post because your account hasn't associated to your company. User profile should be updated.