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

增加内置规则 `validate` #176

niceue opened this Issue Mar 4, 2015 · 0 comments


None yet
1 participant
Copy link

niceue commented Mar 4, 2015

validate(name1, name2, #id1, #id2, ...)


<input name="name1" data-rule="required">
<input id="id2" data-rule="required;validate(name1)">
<input id="id3" data-rule="required;validate(name1, #id2)">


@niceue niceue added this to the 0.8.0 milestone Mar 4, 2015

@niceue niceue closed this Mar 4, 2015

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