January 2018
Intermediate to advanced
678 pages
20h 16m
English
In the Water Balloons web page, we used text controls for the user’s quantity and diameter inputs. You can use text controls for lots of different types of input, and that works OK, but you can improve the user’s experience if, for each input, you use a control that’s specific to the input’s type. See FIGURE 9.20 for six such controls. They all display boxes that look like text controls (the W3C refers to all of them as one-line plain text edit controls), but they have the ability to check the user’s input to make sure it fits within specific constraints.
FIGURE 9.20 One-line plain text edit controls that are customized to handle specific types of input
|
Constraints |
|
Read now
Unlock full access