Mathematica 9 is now available
THIS IS DOCUMENTATION FOR AN OBSOLETE PRODUCT.
SEE THE DOCUMENTATION CENTER FOR THE LATEST INFORMATION.
Mathematica >

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
Ask a question about this page  |  Suggest an improvement  |  Leave a message for the team
Format:   HTML  |  CDF