December 2016
Beginner to intermediate
694 pages
14h 2m
English
Our search example is still reasonably simple, particularly in terms of its data validation; we're merely checking to make sure the search query isn't empty. Many HTML forms include a level of validation that's more complex than making sure the value is non-empty. We've all seen the error messages on websites:
Let's tweak our search() view so that it validates that the search term is less than or equal to 20 characters long. (For sake of example, let's ...
Read now
Unlock full access