[jQuery] Re: Change messages in Jörn's va lidator plugin

2007-12-17 Thread Jörn Zaefferer
tcollogne schrieb: Thanks for the suggestion. I tried this : $.extend($.validator.messages, { messages: { required: "new message" } }); But that doesn't seem to do anything. Is there something wrong with this? Try this: $.extend($.validator.messages, {

[jQuery] Re: Change messages in Jörn's va lidator plugin

2007-12-10 Thread Jörn Zaefferer
tcollogne schrieb: Hello, I am experimenting with the validator plugin from Jörn. I found an example where you can pass custom messages to the validator. I was wondering now if it is possible to define new default messages, so that I don't have to specify them for each validator. I tried thi