动态添加的字段不在$ this-> request-> data中

I use jquery to clone a few input fields but they don't show up in the post request. I've read somewhere that it is because of the validation and that fields not made with the FormHelper are removed from the request.

I added

$this->Security->validatePost=false;

to the beforeFilter function but now I get these error messages. Can someone help me :)?

EDIT: Image to text, it's unreadable =)

Notice (8): Indirect modification of overloaded property LabelsController::$Security has no effect [APP\Plugin\ContentConfigurator\Controller\LabelsController.php, line 116]
Code Context
    {

        parent::beforeFilter();

        $this->Security->validatePost=false;
LabelsController::beforeFilter() - APP\Plugin\ContentConfigurator\Controller\LabelsController.php, line 116
call_user_func - [internal], line ??
CakeEventManager::dispatch() - CORE\Cake\Event\CakeEventManager.php, line 242
Controller::startupProcess() - CORE\Cake\Controller\Controller.php, line 674
Dispatcher::_invoke() - CORE\Cake\Routing\Dispatcher.php, line 187
Dispatcher::dispatch() - CORE\Cake\Routing\Dispatcher.php, line 165
[main] - APP\webroot\index.php, line 108
Warning (2): Creating default object from empty value [APP\Plugin\ContentConfigurator\Controller\LabelsController.php, line 116]
Code Context
    {

        parent::beforeFilter();

        $this->Security->validatePost=false;
LabelsController::beforeFilter() - APP\Plugin\ContentConfigurator\Controller\LabelsController.php, line 116
call_user_func - [internal], line ??
CakeEventManager::dispatch() - CORE\Cake\Event\CakeEventManager.php, line 242
Controller::startupProcess() - CORE\Cake\Controller\Controller.php, line 674
Dispatcher::_invoke() - CORE\Cake\Routing\Dispatcher.php, line 187
Dispatcher::dispatch() - CORE\Cake\Routing\Dispatcher.php, line 165
[main] - APP\webroot\index.php, line 108

As Requested by ndm beforeFilter functions from: LabelsController.php

public function beforeFilter()
{
    parent::beforeFilter();
    $this->Security->validatePost=false;
}

AppController.php

public function beforeFilter() {
    parent::beforeFilter();

    $this->Auth->allow('login');

    // Check if the model isset.
    if (empty($this->model)) {
        throw new FatalErrorException('De huidige controller heeft geen model opgegeven.');
    }

    // Set the layout to 'ajax' when the request is ajax.
    if ($this->request->is('ajax')) {
        $this->layout = 'ajax';
        $this->autoRender = false;
    }
}

The Security component was not added to the public $components array.

class Controller extends AppController
{
    public $components = array('Security');
}