CHAPTER 8Improving Forms
Forms exist as a means through which structured data can be received from a user, and therefore are immensely useful to a web developer. Inherently, however, there exist very few restrictions upon what a user can do with a form, what data he can enter, or how usable the form is.
It is at this stage of the development, after you've already constructed a semantically designed form, that it comes time to add some JavaScript to provide additional feedback to the user. With the knowledge of how or why something may happen within a form, the user will be able to move through it faster, and subsequently will have a better user experience.
In this chapter you're going to look at performing basic client-side form validation and ...
Get Pro JavaScript™ Techniques now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.