Chapter 17: Input Validations in Forms
In the previous chapter, we discussed protecting your pages and creating a login form and a registration form. However, we didn't write any validations that will prevent users from entering invalid inputs.
This chapter will add validations to our forms, which will improve the user experience whenever users use our forms. So let's start.
We will cover the following topics:
- Installing an input validation library
- Using validators in forms
Technical requirements
You need Visual Studio Code to complete this chapter.
Here is the link to the finished repository of this chapter: https://github.com/PacktPublishing/ASP.NET-Core-and-Vue.js/tree/master/Chapter17/.
Installing an input validation library
A user-friendly ...
Get ASP.NET Core and Vue.js now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.