Try our conversational search powered by Generative AI!

Xform validation

Vote:
 

Hi,

Im trying to validate an input field by setting the property "Validate as:" to "Email address". Unfortunately I cant get this validation to work, which probably means i've done something stupid in my rendation of the view. I read this article, which states that; 

Validation will be performed automatically when using the XFormHandler on the server side. To enable client validation, just add the HTML-helper EnableClientValidation in your view.

So I did, by adding;

@{ Html.EnableClientValidation(); }

But my field still wont validate like I want it to. Is there any way of overriding it manually and adding the validation?

Thanks!

#90923
Sep 22, 2014 14:16
* You are NOT allowed to include any hyperlinks in the post because your account hasn't associated to your company. User profile should be updated.