I am using the code below for getting form values:
$data = JFactory::getApplication()->input->get('jform', array(), 'array');
However, when I use
json_encode, it encodes all the form fields I use. How do I select
fields in the form from a specific fieldset? I have 2 fieldsets in my Form, the original one and the other fieldset named 'reportFilters'. I can only use the getFieldset in my View Class.