Wikipedia

Input mask

In computer programming, an input mask refers to a string expression, defined by a developer, that constrains user input.[1] It can be said to be a template, or set format that entered data must conform to, ensuring data integrity by preventing transcription errors. The syntax of this string expression differs between implementations, but the fundamental input types are all supported.

Some frequent uses of input masks include entry of telephone numbers, ZIP or postal codes, times and dates.

e.g. When entering into a text box a phone number on a data capture form, in the format "(111) 111 1111" the area code brackets, the space between the number and the area code will automatically be placed in.

Generally speaking, an input mask is a user-generated set of rules; e.g., a maximum of 45 characters. This kind of string is useful in finding reports and healthcare files.

An example would be: LL00 00L this in detail shows what should be included.

References

  1. ^ Klimczak, Erik (2013). Design for software : a playbook for developers. Chichester, West Sussex: Wiley. ISBN 9781119943709. OCLC 841169700.
This article is copied from an article on Wikipedia® - the free encyclopedia created and edited by its online user community. The text was not checked or edited by anyone on our staff. Although the vast majority of Wikipedia® encyclopedia articles provide accurate and timely information, please do not assume the accuracy of any particular article. This article is distributed under the terms of GNU Free Documentation License.

Copyright © 2003-2025 Farlex, Inc Disclaimer
All content on this website, including dictionary, thesaurus, literature, geography, and other reference data is for informational purposes only. This information should not be considered complete, up to date, and is not intended to be used in place of a visit, consultation, or advice of a legal, medical, or any other professional.