BUILT-IN WOLFRAM LANGUAGE SYMBOL

FieldHint

FieldHint
is an option for InputField that specifies contents to display when the input field is empty.

DetailsDetails

  • An option setting of Null disables the field hint.
  • The field hint cannot be selected and will disappear as soon as keyboard focus is moved into the input field.
  • The default styling of field hints displays them in a lighter shade so they won't be confused with user input.
  • The style of the field hint is determined by the option FieldHintStyle applied in addition to the input field's regular style.

ExamplesExamplesopen allclose all

Basic Examples  (1)Basic Examples  (1)

Add ghost contents to an input field:

In[1]:=
Click for copyable input
Out[1]=
Introduced in 2010
(8.0)
Translate this page: