0

I'd like to be able to take actions before JQUery MVC tries validate my form, then after and if it has been validated I'd like to do a few more things.

I currently do this:

    this.form.bind('submit', function (evt) {

        <some code>

        if (!this.form.valid()) {
            return;
        }

        <some code>
    }.bind(this));

But obviously the validation already occurs once before this is even fired (and I'd like to avoid that since there are things it should not validate due to some specific conditions).

tereško
  • 58,060
  • 25
  • 98
  • 150
Serge
  • 6,554
  • 5
  • 30
  • 56

0 Answers0