In my custom component, under the models folder, is the fields folder which contains the php files for dropdown lists in the .xml by defining its type.
For example, I have a schema.php file in the fields folder, I should specify the type to "schema" correct?
<field name="report_id" type="schema" class="inputbox" label="COM_SUBSCRIPTION_FORM_LBL_FIELDS_REPORTID" description="COM_SUBSCRIPTION_FORM_DESC_FIELDS_REPORTID" table = "#__reports_" key_field="ID" value_field="TITLE" />
When the page reloads, it again calls the schema.php to populate the form field which is of type schema.
I have a dropdown list in my form, which is a custom field type. My form also has a report_Id.
Now I want to use the report_Id as my parameter to filter the content of my dropdown list when the page of the edit form loads.
I have tried using this code in the getInput function of the schema.php file:
$data= JFactory::getApplication()->input->get('jform', array(), 'array');
but it does not return the form together with its inputs when I use var_dump.