use of hidden field for checkboxes in cakePHP
-
29-09-2019 - |
문제
What is the use of hidden fields for checkbox 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.
제휴하지 않습니다 StackOverflow