My project uses jquery.maskedinput.js 1.2.2 and jquery.validate.js
r6096.

I'm looking at a date field, with a mask of 99/99/9999, which happens
to also be required. If I focus and then blur on the required date
field, validate fires (as it should), and does its required check,
which (if I'm reading this properly) consists of a length check on the
date textfield.

Problem is, the 'value' of the date textfield is the format mask text
itself, '__/__/____', with a length of 10, so validation passes.

Is there a prescribed way (short of my hacking jquery.validate.js) for
validate and maskedinput to play nicely together? Say, for validate to
return false if the required field's value matches the mask applied to
it?

I'm trying to use maskedinput's completed:function() to test and zap
the data, but it's not firing properly just yet.

Thanks much for any help / clarification / workarounds!

Mark

Reply via email to