阅读背景:

使用form.submit验证复选框部分

来源:互联网 

I have a form with a name that is passed to the controller, and when the form is $valid I continue to process data. This used to work with radio buttons, but when I switched to checkboxes, the validation passes only when all checkboxes are selected. How can I make it so, selecting 1 makes the form valid? Code snippet for reference:I have a form with a name that is passed to the




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: