-
Notifications
You must be signed in to change notification settings - Fork 146
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
下拉选框,在选择某个选项后才有出现某个必填的字段 #140
Comments
@smallmacro |
嗯嗯,按道理应该可以。在q群上你也肯定了,可是不知道为何验证还是会跳过去。再者,这个过程应该也是动态验证的吧。例如刚开始载入为true,我手工选择为false后,按道理应该也是可以的。
|
|
自定义required的验证条件,官网有例子: |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
有没有类似于:
rules: { //是否指定日期
isTimeDemand:function(element){
return $("#timeDemand").val() === "0";
},
这样自定义貌似不行。。哪里错了
The text was updated successfully, but these errors were encountered: