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