Webform Hints Today
Here’s the current module description from the project page:
This module allows users to enable automatic placeholders to textfields, textareas, select lists, and email fields within a webform created by the Webform module.
The placeholders provided by Webform Hints use the component’s title and are applied on a per-webform basis. When the HTML5 placeholder attribute isn’t available, this module grants optional legacy browser support using a jQuery Plugin fallback. Label elements are then hidden via .element-invisible to keep them available to screen readers. Required indications are also present, configurable, and translatable.
Webform Hints now allows allow other modules to provide hints for custom webform components! Form elements already altered by Webform Hints can also be customized!
And here’s that the configuration interface looks like:
In bulleted fashion:
- Select which forms will (or will not) have the placeholder effect applied.
- Blanket on/off switch.
- Custom “required” element indicator.
- Legacy support toggle.
- Use element description instead of label toggle.
We’re about to cross over 7,000 downloads for Webform Hints, so it seems like others are finding it useful. Give it a shot on your next project and submit any feature requests in the issue queue! If you dig the module, give us a shout on Twitter, we’d love to hear from you.
Project page: Webform Hints