grayhints

Produce ‘gray hints’ to a variable text field

Version:
Copyright:
License:
lppl1.2
Packaged on:
11/05/2018 21:11:30
Number of files:
11
Size on disk:
637.67 kB

The package provides JavaScript code snippets to create ‘gray hints’. Gray hints, as the author terms them, are text that appears initially in a text field that gives a short hint as to what the contents of the text field should be. For example, a text field might contain the hint ‘First Name’, or a date field might read ‘yyyy/mm/dd’. As soon as the field comes into focus, the hint disappears. It reappears when the field is blurred and the user did not enter any text into the field. The package works for dvips/Distiller, pdfLaTeX, LuaLaTeX, and XeLaTeX.