Opened 14 years ago
Closed 14 years ago
#3370 closed feature (fixed)
[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 (3)
Changed 14 years ago by
Attachment: | jquery_validate_ignoretitle.patch added |
---|
comment:1 Changed 14 years ago by
Owner: | set to joern |
---|
comment:2 Changed 14 years ago by
Resolution: | → fixed |
---|---|
Status: | new → closed |
Fixed in [5902], added the ignoreTitle option. Thanks for the patch.
patch for ignoreTitle implementation + tests