Skip to main content

Bug Tracker

Side navigation

#3370 closed feature (fixed)

Opened September 15, 2008 04:42PM UTC

Closed October 21, 2008 06:44PM UTC

[validate] add 'ignoreTitle' option

Reported by: orip Owned by: joern
Priority: minor Milestone:
Component: plugin Version:
Keywords: validate Cc:
Blocked by: Blocking:
Description

We use the jQuery Validation plugin, and to define standard error messages for all our forms we update $.validator.messages with our own error messages.

This works great except for the Google Toolbar problem - when the Google Toolbar sets a title for input elements the plugin prefers them over our default messages.

We don't want to specify messages for every input field, and the title overrides our defaults, so we added an 'ignoreTitle' flag to the options (default is false).

Attached are the implementation and tests (one for using the 'title' when it's false, the other for not using when it's true). I hope you like it.

Attachments (1)
Change History (2)

Changed September 15, 2008 05:55PM UTC by joern comment:1

owner: → joern

Changed October 21, 2008 06:44PM UTC by joern comment:2

resolution: → fixed
status: newclosed

Fixed in [5902], added the ignoreTitle option. Thanks for the patch.