Skip to main content

Bug Tracker

Side navigation

#3766 closed feature (invalid)

Opened January 02, 2009 03:08PM UTC

Closed June 10, 2009 10:22AM UTC

can you add this built-in validation method

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

Can you add another built-in validation method:

CannotEqual - check if the input value equals a certain value, if true, then fail validation.

Because I been playing with your validation plugin, and when I use defaultText (http://www.dailycoding.com/Posts/default_text_fields_using_simple_jquery_trick.aspx) for the input field, your validation doesnt work....

Attachments (0)
Change History (2)

Changed January 02, 2009 10:33PM UTC by flesler comment:1

cc: → webosb
component: unfilledplugin
keywords: → validation
milestone: 1.3
owner: → joern
version: 1.2.6

Changed June 10, 2009 10:22AM UTC by joern comment:2

resolution: → invalid
status: newclosed

A proper watermark plugin doesn't have this problem, as long as it doesn't modify the input value, eg. see http://wiki.jqueryui.com/Watermark