开发者

FORM fields checking

I have a simple form with several checkboxes. Now I need to prevent users to 开发者_如何学Cproceed with this form if more then 3 checkboxes are selected. How should this be done?


Prevent the user from proceeding in what fashion?

On general way would be to simply keep track of the number of check boxes checked within your checkbox check methods. In each check method, check your checkbox count variable and you can proceed from there how you want to prevent the user from interacting with your form.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜