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.

http://world.episerver.com/Modules/Forum/Pages/Thread.aspx?id=64533&epslanguage=en

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.ValidationSummary()
@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