Skip to reading
Buttons, Labels & Text Boxes

Use a placeholder as a short instruction

Edition 0.86.4.1 HF1

0.86.4.1 Hotfix 1 edition. Earlier lessons and screenshots retain their original version context; revised references and supplements describe the newer behavior.

Download PDFView illustrations
Source table from Use a placeholder as a short instruction, page 23
SettingPurpose
PlaceholderGuidance displayed only while the box is empty.
Placeholder Text ColorThe guidance color, separate from the player's entered text.
Placeholder FontThe font used for that empty-field guidance.
Text / starting valueReal initial contents that the player can edit; not a placeholder.

Type a visitor name is useful guidance. Joey as a starting value is actual editable input. If you put Joey in Text & Content, the placeholder will not appear until the player clears those contents.

Keep the instruction visible elsewhere when needed#

A placeholder disappears as soon as the player types. For an important instruction such as Register password, put a normal Label above the text box. The player can then still see what the field means after entering the first letter.

Figure 17. A separate Visitor name label remains above the field after the name is entered. The output label displays the saved value.

The placeholder is not submitted as the player's answer. It is not a default value for a variable. It also does not run the label/button wildcard expansion, so keep it as plain guidance rather than a live score display.

Do not rely on a faint placeholder as the only sign that a text box exists. Give the field enough border contrast and keep its entered text readable against the normal and focused surfaces.

Page 23 of 46Permalink
Go to page