A critical vulnerability was discovered in React Server Components (Next.js). Our systems remain protected but we advise to update packages to newest version. Learn More.
AI OnAI Off
A critical vulnerability was discovered in React Server Components (Next.js). Our systems remain protected but we advise to update packages to newest version. Learn More.
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!