The hint module modifies a textfield with a default value that disappears when a user clicks in the field. The "Search Drupal.org" box (top of this page) is an example of this behavior. This is set via a #hint entry in the form's element. The date popup instantiates a number of textfields when it renders, each of which could have a hint in them.

CommentFileSizeAuthor
#1 date_popup--hint_support.patch652 bytesjohn franklin

Comments

john franklin’s picture

Status: Active » Needs work
StatusFileSize
new652 bytes

The attached patch provides passive support for #hint by passing along a #hint entry in the date_popup to its textfield children.

THIS IS NOT A PRODUCTION READY PATCH.

There are other places in the module where this code should be added to cover date pop and regular date fields, and should be generalized to pass on any unknown tags so other form-altering modules, existing and future, such as Hint, are also supported.

damienmckenna’s picture

Issue summary: View changes
Status: Needs work » Closed (won't fix)

Unfortunately the D6 version of this module is no longer supported, but we appreciate the time you put into this. If this problem is relevant for D7 too, please reopen the issue. Thanks.