This is documentation for Mathematica 8, which was
based on an earlier version of the Wolfram Language.
View current documentation (Version 11.2)

FieldMasked

FieldMasked
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.
Create a masked input field:
Create a masked input field:
In[1]:=
Click for copyable input
Out[1]=
Typesetting constructs are not masked, but individual characters are:
Although text is masked, it is not encrypted and can be accessed programmatically:
New in 8