Normally I am using formbuilder to get the post data from form.
However,now I need very simple form not relevant with entity.
I can get the method like this and
if ($this->getRequest()->isMethod('POST')) {/
I want to get the each form data.(name is form name)
echo($this->getRequest()->get('name')->getData());
it shows error.
I used to use formbuilder and bindRequet normally to pick the data from form object.
How can I get the each form data from this->getRequest() without using formbuilder?