Hour 7. Validating User Input
One of the most common tasks required of CGI programs is validation of user input. Whether you’re taking an order online, allowing a user to subscribe to a mailing list, or enabling the user to enter stock symbols to look up a quote, it’s necessary to verify that the user entered all the required information in the form, and that the information entered is properly formatted.
There are a number of techniques that can be used for form validation, and in this hour, I’m going to cover some of the most effective ones. Over the course of this hour, you will learn
How to use JavaScript to validate form content
How to design forms that require less validation
How to design applications that efficiently incorporate form validation ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access