This question already has an answer here:

Is there a way to get all the POST or GET vars at once using JInput? Something like this, only using the newer syntax:

$post = JRequest::get('post');

marked as duplicate by fruppel, Farahmand, Mikan, TryHarder, Neil Robertson Mar 4 '16 at 12:46

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.


Yes, you can achieve this by using JInput.

$app = JFactory::getApplication();
$input = $app->input;
$jform = $input->get('jform', array(), 'ARRAY'); 
//$jform will show all the data of your form

Please refer this document for more details:


  • @Ruchika-- thanks. Will that get either the GET or POST vars? or would you use $input->post('jform', array(), 'ARRAY') to get the POST payload? – user101289 Mar 5 '16 at 3:19
  • it will get all the vars. Also, please check other answers as well as the question has been marked duplicate and already has answers else modify your question as it is stated – Liz. Mar 5 '16 at 6:41

Not the answer you're looking for? Browse other questions tagged or ask your own question.