Jason, Based on your response I would recommend allowing the user to enter either format using the watermark plugin to suggest the format of the input, then if they enter it lazily (ex: Month 9) when they tab out of the input box, correct their format. The reduces any server side validation and gives a visual indication to the user what the correct input format is.
~Sean On Jan 29, 2008 9:23 AM, Jason Levine <[EMAIL PROTECTED]> wrote: > > > Actually, what I think I'm looking for is more advanced > masking/validation. > I want to encourage users to use 2 digits for month, but recognize that > using one digit will be valid also. Perhaps a plugin where the value of > the > field is matched against a regular expression. If it doesn't match, some > error message occurs. If it does match, then it is allowed to pass. Come > to think of it, maybe I'll just write the plugin myself. > -- > View this message in context: > http://www.nabble.com/Masked-Input-Optional-Characters-tp15091355s27240p15160774.html > Sent from the jQuery General Discussion mailing list archive at Nabble.com > . > >