O'Reilly logo

Learning Dart - Second Edition by Ivo Balbaert

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Chapter 6. Combining HTML5 Forms with Dart

In business applications, data is structured through model classes and stored permanently. However, the first step, controlling the input of data, is essential. In this chapter, the new input and validation functionalities of HTML5 are explored. You will learn how to:

  • Process input data by validating them through HTML5 and Dart
  • Store and retrieve data in the browser's local storage
  • Show data in the HTML5 forms

We will expand on our bank account example to show these features; gradually, building it up in iterations.

Spiral 1 – the power of HTML5 forms

We will make a form that will enable us to create objects for the BankAccount class that we encountered in the code examples in Chapter 1, Dart – A Modern Web ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required