Created
March 24, 2019 14:36
-
-
Save alasvant/9ca77445049ca7da21f6f47ea232050d to your computer and use it in GitHub Desktop.
Sample code for creating custom Episerver Forms form container block. This is the controller code part.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using EPiServer.Forms.Controllers; | |
using EPiServer.Forms.Implementation.Elements; | |
using System.Web.Mvc; | |
namespace SampleCustomFormContainer.Controllers | |
{ | |
public class SiteFormsContainerBlockController : FormContainerBlockController | |
{ | |
public override ActionResult Index(FormContainerBlock currentBlock) | |
{ | |
return base.Index(currentBlock); | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment