You could start by writing custom methods for each of these input
types, and where possible, delegate to the existing methods:
http://docs.jquery.com/Plugins/Validation/Validator/addMethod
What do you think?
Jörn
On Mon, Jul 27, 2009 at 8:42 PM, Brett Ritterswift...@swiftone.org wrote:
I
On Mon, Jul 27, 2009 at 5:20 PM, Jörn
Zaeffererjoern.zaeffe...@googlemail.com wrote:
You could start by writing custom methods for each of these input
types, and where possible, delegate to the existing methods:
http://docs.jquery.com/Plugins/Validation/Validator/addMethod
If I'm following
Having JS sanitize for the backend is somewhat dubious, I'd not go
there, but you probably don't want to discuss that.
Anyway, a validation method has access to the validate element, so you
could as well write a method that just sanitizes, nothing else.
Combine that with a strict validation
On Mon, Jul 27, 2009 at 6:06 PM, Jörn
Zaeffererjoern.zaeffe...@googlemail.com wrote:
Having JS sanitize for the backend is somewhat dubious, I'd not go
there, but you probably don't want to discuss that.
I think we're in agreement there, actually. JS provides no security
and shouldn't be
4 matches
Mail list logo