I was wondering for a small list of numbers [1..20], what kind of control will you advise to prompt the user for his selection.
I was thinking of a NumericUpDown control but it does not exist for WebForm and to make matters worse, I am deploying on a Pylons application (Python Framework)
Do you feel a DropDown control will suffice? I somehow still feel a NumericUpDown control is much more intuitive and easier to use from a user standpoint.
Will love the opinions of the SO community and perhaps advise about best practices.
thanks so much!
edit: forgot to mention that I am using the YUI library and the webhelpers library and to the best of my meagre knowledge, there is no such control with equivalent functionality to the numericupdown
If the user is interacting mostly with the keyboard, consider just a regular edit box with a test on the limits. It's much easier than banging the down arrow to choose some other number.
If it is mouse-based and you have room, a grid of buttons or radio-set would be quick.
If it is keyboard based, then Jakob Nielsen wrote in his Alertbox article Drop-Down Menus: Use Sparingly, this note of caution:
Designs to Avoid
Drop-down menus do have their advantages. First, they conserve screen space. They also prevent users from entering erroneous data, since they only show legal choices. Finally, because they are a standard widget (even if an unpleasant one), users know how to deal with a drop-down menu when they encounter it.
Despite these advantages, Web usability would increase if designers used drop-downs less often. To that end, here are some examples of designs to avoid:
Menus of state abbreviations, such as for U.S. mailing addresses. It is much faster for users to simply type, say, "NY," than to select a state from a scrolling drop-down menu. Free-form input into fields with restricted options does require data validation on the backend, but from a usability perspective it's often the best way to go. (This is guideline #178 for e-commerce usability because of the many errors we observed in check-out forms with state drop-downs.)
Menus of data well known to users, such as the month and year of their birth. Such information is often hardwired into users' fingers, and having to select such options from a menu breaks the standard paradigm for entering information and can even create more work for users, as the following example shows.