Related to this question --- > > $ this- > request- > getData (); does not recover the data
I do not know why the variable $ option is not shown in the view, but success if it is showing:
<div class="modalHome">
modi...
I'm going crazy with the AJAX response I want to pass a variable by ajax and retrieve it with cakephp.
The variable to recover is " option "
jQuery + AJAX:
$(document).on("click", "#modificar-foto-cuenta", function() {...
IN CakePHP 3.6 How do I make a line jump between the label and the input type?
<?= $this->Form->control('nombre', ['placeholder' => 'Nombre', 'class' => 'nombre', 'size' => '20', 'maxlength' => '30']); ?>
It shows...
I'm doing a validator in the cakephp model so far I have:
public function validationDefault(Validator $validator){
$validator
->date('fechainicio')
->allowEmpty('fechainicio');
$validator
->date('fec...
Good afternoon I have the following code with which I sent mail and it works well in my local but when uploading it to the server it sends me an error:
2018-11-05 18:36:12 Error: [Cake\Network\Exception\SocketException] Network is unreachable...
I have a field type file is the following:
<?= $this->Form->file('key', [
'id' => 'form__key',
'class' => '_oculto js--file__upload',
'name' => 'key',
'data-file' => 'application',
'acce...