I've got a form that submits through AJAX (domain.com/page/FormAction), calling FormAction() to process the form. AJAX is functioning properly and all form data is sent through POST.
For some reason though, I noticed I can't retrieve the data using $this->getRequest()->param('field_value'); which is the way I usually get POST data. I have to use $this->requestParams['value'] instead.
$this->getRequest()->param('field') // returns null
$this->requestParams // returns an array with all form data
I don't mind using the requestParams property instead, but why does the first method (param) not function for AJAX calls?