CTAN
Comprehensive TeX Archive Network

grayhints – Produce 'gray hints' to a variable text field

The pack­age pro­vides JavaScript code snip­pets to cre­ate 'gray hints'. Gray hints, as the au­thor terms them, are text that ap­pears ini­tially in a text field that gives a short hint as to what the con­tents of the text field should be. For ex­am­ple, a text field might con­tain the hint 'First Name', or a date field might read 'yyyy/mm/dd'. As soon as the field comes into fo­cus, the hint dis­ap­pears. It reap­pears when the field is blurred and the user did not en­ter any text into the field.

The pack­age works for dvips/Dis­tiller, pdf, Lua, and XeLaTeX.

Sources /macros/latex/contrib/grayhints
Doc­u­men­ta­tion
Ver­sion 2017-03-02
Li­cense The Project Public Li­cense 1.2
Main­tainer Don­ald P. Story
Con­tained in TeX Live as gray­hints
MiKTeX as gray­hints
Topics mis­cel­la­neous sup­port stuff
cre­ate pdf form fields, use form fields as an in­te­gral part of the pack­age

Down­load the con­tents of this pack­age in one zip archive (365.9k).

Com­mu­nity Com­ments

Load­ing...

An­nounce­ments

Here you can see a re­spec­tive di­a­gram in newer browsers.

more

Guest Book Sitemap Contact Contact Author