AI OnAI Off
Hi Henrik,
I've wrote a blog post of xForms validation with Google reCAPTCHA maybe te code in my blog can help you.
http://www.patrickvankleef.com/2015/01/29/episerver-xforms-recaptcha-webforms-implementation/
Regards,
Patrick
Posted wrong link, I created two blog post one for webforms and one for MVC:
http://www.patrickvankleef.com/2014/12/22/episerver-xforms-recaptcha-mvc-implementation/
Hi!
I am trying to do some serverside validation with the data sent with a XForm on a MVC solution and if the validation fails I want to stop the post.
I got a small problem with XFormActionHelper.BeforeSubmitPostedData. I am able to catch the Xform post before the actuall post but I am not able to stop the post with the
XFormDataEventArgs CancelSubmit.
What is the correct way to handle this?
Many thanks!
/ Henrik