How I can validate an object from $this->request->getPost()
that has inside other object? For example:
In AJAX data:
{ "something": { "value" : "someValue" } }
In server:
$validator->add("value", ...)
How I can validate an object from $this->request->getPost()
that has inside other object? For example:
In AJAX data:
{ "something": { "value" : "someValue" } }
In server:
$validator->add("value", ...)