Chapter 9: Data Validation Techniques
		Download all as a zip file (28 KB)
		
			- 
				Protecting Web Pages with JavaScript
- 
				Testing if a string is a valid number using string methods
- 
				Testing if a string is a valid email using string methods
- 
				Testing if a string is a valid number using calculation methods
- 
				Testing if a string is a valid date using calculation methods
- 
				Testing if a string is a valid date using the Date object
- 
				Reversing the order of names with Regular expressions
- 
				Showing the URL of a link behind it via Regular Expressions
- 
				Retrieving mandatory fields from a hidden field
- 
				Retrieving mandatory fields from HTML indicators
- 
				Retrieving mandatory fields by class name
- 
				Sharing validation rules client and server side
- 
				Showing a list of error fields above the submit button
- 
				Hiding the main form on validation
- 
				Showing error messages at each erroneous form field
- 
				Showing error messages instantly at each erroneous form field
- 
				Suggesting the user possible solutions dynamically
- 
				Helper functions
Back to index
	Go to the homepage