In the previous movie, we created validation when the user submits the form. …Now I'm going to show you how to handle more interactive validation. …This time we're going to check for validation when the user exits a field …and has a placeholder attribute. So I'm going to come right here and I'm …going to do the dollar sign again. And I'm going to type in input. …And then use the type selector which are these brackets and type in place holder …that way we'll look for fields that are input fields and also have a place holder. …And then we'll attach the blur method. The blur method will happen when somebody …exits a field. So this will execute a function.…
This is going to be a function literal, or a function with no name. …And we're going to do something in here. So, what I'm going to do is, remove the …current errors that are on the page. Now, I'm going to create a set of …variables that's going to keep track of things. …First, a variable to receive the pattern from the pattern attribute in the form. …
- Understanding forms
- Adding required fields and placeholders
- Accepting multiple entries
- Limiting uploads
- Handling focus changes
- Validating with regular expressions
- Working with older browsers
- Building jQuery validation
- Using server-side validation
- Sanitizing form input
- Uploading files
- Sending form data to a database
Skill Level Intermediate
Managing and Analyzing Data in Excel 2010with Dennis Taylor1h 32m Intermediate
1. Getting Started
2. Validating with HTML5
4. jQuery Form Validation
Understanding jQuery3m 47s
5. Working with PHP
6. Processing Form Data
Next steps1m 17s
- Mark as unwatched
- Mark all as unwatched
Are you sure you want to mark all the videos in this course as unwatched?
This will not affect your course history, your reports, or your certificates of completion for this course.Cancel
Take notes with your new membership!
Type in the entry box, then click Enter to save your note.
1:30Press on any video thumbnail to jump immediately to the timecode shown.
Notes are saved with you account but can also be exported as plain text, MS Word, PDF, Google Doc, or Evernote.