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

增加参数 ignoreBlank ,没有值的时候暂不验证 #168

Closed
niceue opened this Issue Nov 13, 2014 · 0 comments

Comments

Projects
None yet
1 participant
@niceue
Copy link
Owner

niceue commented Nov 13, 2014

ignoreBlank 为布尔值(默认:false),只有在输入值后才验证。
无论如何,提交表单的时候会忽略这个参数。

$("#form").validator({
    ignoreBlank: true
});

@niceue niceue added this to the 0.8.0 milestone Nov 13, 2014

@niceue niceue closed this in a084998 Nov 13, 2014

niceue added a commit that referenced this issue Nov 13, 2014

niceue added a commit that referenced this issue Nov 13, 2014

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment