Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Hint provides a simple API for adding JavaScript "hint" text to text and password fields. The "hint" is shown inside of the text field until the user clicks or gives focus to the text field, then the hint text is cleared, allowing the user to enter their own content.
- Works with both textfields and password inputs.
- Uses the "title" attribute for the hint text content.
- Easily add a hint to any text field by using the #hint Form API property.
- Includes sample implementations for the search and user login forms.
This module built by robots: http://www.lullabot.com
Written by Nathan Haug (quicksketch)
Project information
- Unsupported
Not supported (i.e. abandoned), and no longer being developed. Learn more about dealing with unsupported (abandoned) projects - Obsolete
Use of this project is deprecated. - Module categories: Site Search, Access Control, Developer Tools
- 181 sites report using this module
- Created by quicksketch on , updated
- Stable releases for this project are covered by the security advisory policy.
Look for the shield icon below.