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


is an option for InputField that specifies the style to use for displaying the field hint.
  • Typical forms of settings include:
"style"a named style from the current stylesheets
{opt1->val1,...}a list of explicit option settings
{"style",opt1->val1,...}a named style modified by option settings
  • Color directives such as Red, as well as text specifications such as Bold or Small, can be given in place of options, just as in Style.
  • Any outside styles not explicitly overridden by settings in FieldHintStyle will still be used.
  • Style specifications given in FieldHintStyle are typically added to default specifications given in the current stylesheet.
  • For an object of type obj, the default style specifications are typically those associated with a style named .
Field hints use italics by default:
Change the style to use a roman font:
Field hints use italics by default:
Click for copyable input
Change the style to use a roman font:
Click for copyable input
FieldSize will use the larger of FieldHintStyle and BaseStyle to calculate its size:
In some cases, it can make the hint look too small, or in some cases make the text look too small:
The default stylesheet applies transparency to all field hints even if you change the color:
To override the transparency setting, specify Opacity:
New in 8