Unit 14.1. Form Validation Using JavaScript
As you learned in Chapter 7, “Introduction to JavaScript,” JavaScript is loaded into the browser with the HTML document. Thus, JavaScript form validation executes completely on the front-end, or client. There are situations where some back-end validation is necessary, for example, a class registration application would first check that a student has taken any prerequisites for a class before allowing that student to register for a class. This would have to be done on the back-end since data from the database is necessary. The majority of form validation, however, can be accomplished with JavaScript on the front-end.
What can you accomplish with JavaScript form validation? Since JavaScript can read ...
Get Oracle® Web Application Programming for PL/SQL® Developers 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.