Anything you can do to help your users fill out accurate forms is a good thing. …Sometimes we ask users for generic input fields with a text field, and we get a …lot of variations in the responses we get back. …Say, for example, that we're asking users to fill out a county. …If I ask for the information in a generic text field, I may get different …variations on the different counties. For example, they might type something …like Orange, some people will type it upper case. …Some people will type in lower case, and some people might even misspell it.…
Now, I don't want to use a select field here because although you're in a certain …geographic area, some people might come from all over the state. …By using a data list, you can provide suggestions to your users. …The way you do it is by using a list attribute in your input field. …Then you create a data list with predetermined responses. …When the users click on the field, they will see the data list and pick from one …of the predetermined values. So, here's the code for how that would work. …
- 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.