Five New Optimizely Certifications are Here! Validate your expertise and advance your career with our latest certification exams. Click here to find out more
AI OnAI Off
Five New Optimizely Certifications are Here! Validate your expertise and advance your career with our latest certification exams. Click here to find out more
Take a look at http://cjsharp.com/blog/2013/04/11/creating-a-xform-block-in-episerver-7-mvc-with-working-validation-updated/. Although this particularly covers implementation in a block, you could also use it for page integration.
I prefer to use the latter way of rendering, since it gives me a little more control over the output of the form.
After you implement one of the methods, check the action attribute that's rendered on the form tag and see if you have a MVC action to handle it.
Which method is the preferred way of rendering a XForm in MVC?
Html.PropertyFor(m=>m.XForm,