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


  • 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.


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:

Introduced in 2010