Validation and ajaxsubmit plugins

Discussion in 'jQuery' started by jhodgso4, Sep 24, 2011.

  1. #1
    Hi There
    I'm slowly learning jQuery and am making good use of the plugins available. I'm using two for my form and independantly work brilliantly. Problem is I am trying to get the validate function to run with the ajaxsubmit. Everything looks ok on my form, it validates fine but just won't submit, my code is below;

    $(document).ready(function() {

    var options = {

    beforeSubmit: $("#bigForm").validate(),

    };

    $('#bigForm').ajaxForm(options);
    });

    Any help will be greatly appreciated.
    Joe
     
    jhodgso4, Sep 24, 2011 IP