Safari Books Online is a digital library providing on-demand subscription access to thousands of learning resources.
If you recall, the registration form has more than just text fields on it. Users are asked to pick from lists and fill out a couple of date fields. Anyone who has written data-driven applications knows that giving users a text field for these kinds of things leads to inconsistent data. Dates can be entered in any number of ways, and users will likely never type things exactly the way you want them to. This means you need to provide ways to enter this data that both preserve the integrity of the data and are easy.
In this section, you’ll create a date-picker control and a select box.