开发者

use of hidden field for checkboxes in cakePHP

What is the use of hidden fields for checkbo开发者_运维知识库x in cakePHP??


It's so there's always some data submitted for the field, even if the box is not checked. This becomes especially important if you're using the SecurityComponent. You can turn it off by setting 'hiddenField' => false as an option.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜