Try our conversational search powered by Generative AI!

How to make XForm work on the XForm block?


I have already added a question here, but perhaps more people would see it if I post a new topic.

So, the question is what do I set PostController to to make XForm on a block to work?

@using EPiServer.XForms.Util
@model Cornerstone.Web.Views.Shared.Blocks.XFormBlockViewModel

@Html.DisplayForModel(new { XFormParameters = new XFormParameters() { SuccessAction = "Success", FailedAction = "Failed", PostController =  ??} })


I have tried several things, but they do not work. Anyone has already succeeded in doing this?

Jan 17, 2013 16:42
This thread is locked and should be used for reference only. Please use the Episerver CMS 7 and earlier versions forum to open new discussions.
* 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.