Unobtrusive client-side validation gives users immediate feedback before form submission. ASP.NET Core form tag helpers express field rules as data-val* HTML attributes, while JavaScript interprets those attributes and configures jQuery Validation to perform the checks. section 29.6
A working setup requires the validation libraries in the correct order:
- Let form tag helpers generate constraints such as data-val-required on inputs. section 29.6
