CakePHP doesn’t save the file path I provide. The record has 3 columns (id, path, description), but the ‘path’ column is empty every time I try to add a path.
$this->UpdateFile->saveAll($this->request->data)
The files are dynamically generated, so they have a structure like this:
data[UpdateFile][n][path]
data[UpdateFile][n][description]
How can I save the path?
When the input field is set to ‘disabled=”disabled”‘ Browsers won’t transmit the values. I’ve removed this attribute and it worked.