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.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.