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

支持提前初始化(验证将来才存在的表单) #114

Closed
niceue opened this Issue Mar 3, 2014 · 0 comments

Comments

Projects
None yet
1 participant
@niceue
Copy link
Owner

niceue commented Mar 3, 2014

支持该功能后,你可以提前初始化一些表单验证。这些表单可能是动态的,现在不存在于页面。

只需要通过另外一种表单验证的初始化方式:

$.validator(formSelector, options)

$.validator("#formid", {
    timely: 2,
    stopOnError: true,
    fields: {
        a: "required",
        b: "required"
    }
});

@niceue niceue added this to the 0.8 milestone Mar 3, 2014

@niceue niceue added the feature label Mar 3, 2014

@niceue niceue self-assigned this Mar 3, 2014

@niceue niceue closed this in 591524f Jul 6, 2014

@niceue niceue changed the title 支持验证将来的表单(提前初始化) 支持提前初始化(验证将来才存在的表单) Jul 6, 2014

@niceue niceue added new labels Jul 12, 2014

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