How can i use multiple filter on field? Like that striptags and trim together:
striptags
trim
$this->request->getPost('title', 'striptags|trim');
Try with array as second parameter:
$this->request->getPost('title', ['striptags', 'trim']);
Try with array as second parameter: $this->request->getPost('title', ['striptags', 'trim']);
Ooww, i missed that! Really thanks ;)
Array can also be passed to a filter component:
$num = $this->filter->sanitize($num, ['int', 'alphanum']);