New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support $form.isValid(validCallback) #214

Closed
niceue opened this Issue Jan 26, 2016 · 0 comments

Comments

Projects
None yet
1 participant
@niceue
Copy link
Owner

niceue commented Jan 26, 2016

see examples

// without arguments, and the callback is "validCallback"
$form.isValid(function(){
    alert("OK, This form is valid");
});

// with one argument, you should get result from the argument
$form.isValid(function(result){
    if (result) {
        alert("OK, This form is valid");
    } else {
        alert("ERROR, This form is invalid");
    }
});

@niceue niceue added this to the 1.0.0 milestone Jan 26, 2016

@niceue niceue closed this in 763ae06 Jan 26, 2016

@niceue niceue modified the milestones: 0.10.5, 1.0.0 Jan 28, 2016

niceue added a commit that referenced this issue Jan 28, 2016

resolved #214
Support $form.isValid(validCallback)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment