FieldMasked

FieldMasked

is an option to InputField that determines whether to mask user input.

Details

  • An option setting FieldMasked->True specifies that the contents of an input field should be masked.
  • Masked input fields are typically used for input fields that hold private information such as passwords.
  • Input fields are masked visually and from attempts to copy the contents to the clipboard.
  • A masked input field displays exactly one asterisk for each character in the input field.

Examples

open allclose all

Basic Examples  (1)

Create a masked input field:

Scope  (1)

Typesetting constructs are not masked, but individual characters are:

Possible Issues  (1)

Although text is masked, it is not encrypted and can be accessed programmatically:

Wolfram Research (2010), FieldMasked, Wolfram Language function, https://reference.wolfram.com/language/ref/FieldMasked.html.

Text

Wolfram Research (2010), FieldMasked, Wolfram Language function, https://reference.wolfram.com/language/ref/FieldMasked.html.

CMS

Wolfram Language. 2010. "FieldMasked." Wolfram Language & System Documentation Center. Wolfram Research. https://reference.wolfram.com/language/ref/FieldMasked.html.

APA

Wolfram Language. (2010). FieldMasked. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/FieldMasked.html

BibTeX

@misc{reference.wolfram_2024_fieldmasked, author="Wolfram Research", title="{FieldMasked}", year="2010", howpublished="\url{https://reference.wolfram.com/language/ref/FieldMasked.html}", note=[Accessed: 04-October-2024 ]}

BibLaTeX

@online{reference.wolfram_2024_fieldmasked, organization={Wolfram Research}, title={FieldMasked}, year={2010}, url={https://reference.wolfram.com/language/ref/FieldMasked.html}, note=[Accessed: 04-October-2024 ]}