use of hidden field for checkboxes in cakePHP
-
29-09-2019 - |
Pergunta
What is the use of hidden fields for checkbox in cakePHP??
Solução
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.
Licenciado em: CC-BY-SA com atribuição
Não afiliado a StackOverflow