I’ve been having a problem implementing xForms on an MVC site.
I’ve followed the instructions as per this blog:
I can see the values of the form when debugging but the controller doesn’t seem to pick these up & the OnActionExcuting method always returns a failed action.
Is there anything in the implementation that I may be missing?
Any suggestions appreciated.
Are you telling that in this method "ActionResult XFormPost(XFormPostedData data,..." data is empty? So basically form is submitted back to the server, but model binding is not happening for the XForm?
Yeah that sounds about right.
OnActionExecuting is called & filterContext.ActionDescriptor.ActionName == "Failed" is true.