November Happy Hour will be moved to Thursday December 5th.
AI OnAI Off
November Happy Hour will be moved to Thursday December 5th.
Btw. There's a bug in the code above. Don't mind it.
return
Success(currentPage, currentPage);
Should be
return
Success(currentPage, xFormPostedData);
I had to clean up the code and just copypasted it incorrectly.
Hi Marko
Could you please send some details on how you used the XFormPageUnknownActionHandler?
Hi!
I've managed to build nice little custom validation for my MVC/XForm page. I added recaptcha validation which works nicely. But what doesn't work is that all the input-fields in the form are blank after validation fails (for example, user hasn't provided valid email). I want those fields to contain the same value user entered after post.
Here's some code. This is from the view. Model.Page.Form property contains the XForm object.
This is from the controller.
How do I tell XForm object to render user posted data back to user in Failed-method?