---
title: Thank you page redirect
slug: cms-12/docs/redirecting-to-thank-you-page
docTags: 
createdAt: 2026-08-10T15:56:04.000Z
---

:::hint{type="info"}
**Note**
[Optimizely Forms](docId:3SbSlJZIS_3iFmghfQA3J) is only supported by MVC-based websites and HTML5-compliant browsers.
:::

After a visitor submits a form, you can redirect them to a *Thank you* page using the **Display page after submission** field. You can have several forms go to the same *Thank you* page, so the following elements (in the redirect URL) let you know which form the visitor submitted using the `DefaultAppendExtraInfoToRedirection` class.

- `FormGuid` – Unique ID of the `FormContainerBlock`. Use this ID to look up the form instance.
- `FormLanguage` – Language of the container page (where `FormContainerBlock` is dropped).
- `FormSubmissionId` – Unique ID of the submission. Use this ID to look up the recent submission (which drives a visitor to the *Thank you* page).

`Forms.Core` provides the `IAppendExtraInfoToRedirection` interface, and lets you customize the *Thank you* page. You should:

1. Implement the interface.
2. Make an `InitializationModule`, and use Dependency Injection to replace the default implementation.

A third-party developer can alter this behavior by implementing `IAppendExtraInfoToRedirection`, and using [StructureMap in InitializationModule (D](https://github.com/episerver/EPiServer.Forms.Demo/blob/master/DemoInitializationModule.cs)[emoInitializationModule.cs](https://github.com/episerver/EPiServer.Forms.Demo/blob/master/DemoInitializationModule.cs)) to replace the default implementation:

```csharp
public void Initialize(InitializationEngine context) {
  _serviceConfigurationContext.Container.Configure(c => {
    c.For<IAppendExtraInfoToRedirection>().Use(new AppendInfoToRedirection());
  });
}
```

See also the source code in [Demo project on Episerver GitHub](https://github.com/episerver/EPiServer.Forms.Demo), especially the following code samples:

- [AppendInfoToRedirection.cs in the open-sourced Demo project](https://github.com/episerver/EPiServer.Forms.Demo/blob/master/Implementation/AppendInfoToRedirection.cs)
- [DemoInitializationModule.cs in the open-sourced Demo project](https://github.com/episerver/EPiServer.Forms.Demo/blob/master/DemoInitializationModule.cs)
