December 2017
Intermediate to advanced
271 pages
7h 5m
English
The minimal JavaScript front-end web application that we have discussed in Chapter 3 has been limited to support the minimum functionality of a data management app only. For instance, it did not take care of preventing the user from entering invalid data into the app’s database. In this chapter, we show how to express integrity constraints in a JavaScript model class, and how to perform constraint validation both in the model part of the app and in the user interface built with HTML5.
We show how to perform responsive validation with the HTML5 form validation API113. Since using the new HTML5 input field types and validation attributes (like required, min, max and pattern ...
Read now
Unlock full access