I’m making jQuery Mobile app with Cake 2.0 but having trouble submitting a form to the controller actions.
It seems like form is submitting but I’m not getting any results when I do debug($this->request->data).
Is this because it’s submitting as AJAX? If so, how can I solve it so that I can receive form inputs to my controller and return them?
debug should show the data and its not dependent on request type, you need to have appropriate value in your Config/Core.php like:
Hope it helps