I think that people are going to want more flexibility in terms of what
they want to validate.  It would be great to include very common
shortcuts, like "us-phone-number", "credit-card-number", or
"email-address".  But, we can't predict what everyone's data will look
like.  There must be a way to provide custom formats.

- Brian


> What about when you want to change some aspect of the mask? Say, the
> phone number mask now needs to handle international numbers as well.
> Why not separate the mask from the class name like this:
>
> <label for="foo" class="validate phoneNum"></label>
> <input name="foo" id="foo" type="text" />
>
> And put the mask in the jQuery code?
>
> --
> Tim


_______________________________________________
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/

Reply via email to