How to make XForm work on the XForm block?

Member since: 2010

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?

#65019 Jan 17, 2013 16:42