You can prevent errors by constraining what a person can do with a user interface such that only valid actions are possible.  For example, if you need someone to enter a valid credit card expiration date, you can use a pull down menu that only lists a small number of valid years.  If, instead, you used a text field, who knows what the user might enter?

About the author: Krzysztof Gajos

Has one comment to “Constraints”

You can leave a reply or Trackback this post.

You must be logged in to post a comment.