Chapter 5. Working with Forms
In this chapter, we will cover:
Adding input fields dynamically in a form
Searching for a user-inputted string in a page
Checking for empty fields using jQuery
Validating numbers using jQuery
Validating e-mail and website addresses using regular expressions
Displaying errors as user types: performing live validation
Strengthening validation: validating again in PHP
Creating a voting system
Allowing HTML inside textareas and limiting HTML tags that can be used