You can use the valid-method to trigger the validation any time:
$(#contact_form).valid();
Jörn
On Mon, Mar 2, 2009 at 1:30 PM, knal knalp...@gmail.com wrote:
Hi there,
I have a form which is validated with the jQuery Validate PI.
The JS roughly looks as follows:
code
var validator =
Great! Thanks for your fast reply.
I will try it tonight.
The reason why i need this, is that i'm trying to combine Validate
with jNice.
Thanks again,
Knal
On Mar 2, 1:35 pm, Jörn Zaefferer joern.zaeffe...@googlemail.com
wrote:
You can use the valid-method to trigger the validation any time:
On Mon, Mar 2, 2009 at 3:30 PM, knal knalp...@gmail.com wrote:
Hi there,
I have a form which is validated with the jQuery Validate PI.
The JS roughly looks as follows:
code
var validator = $(#contact_form).validate({
rules: {
name: {
The plugin doesn't support customizing event in that manner. But you
can always implement your own event handling, disabling the defaults
if they interfere, and trigger validation manually. Something like
this:
$(#dayfield).keyup(function() {
if (this.value.length = 2 $(this).valid()) {
Hy Jörn, thx for the unbelieveble fast reply. I just wrote kind of
oldstyle js-function, doing the same. And the blur of that function
triggered validation, too.
Didn't thought, it could be so easy.
But your solution is much more elegant.
Boris
On 8 Sep., 17:07, Jörn Zaefferer [EMAIL PROTECTED]
5 matches
Mail list logo