I'm working for FE component with form to make ability to user set some values to filter data from DB (ex: select, text). After user make submit these fields need to show values user have selected before submit.
I have created custom fields and form XML files. I realized that custom fields in same JForm that extends JFormField remains with same name that is set in myfield.php but custom fields that extends JFormFieldList become with jform array part (ex. jform[myfield]) and so they appear in the POST as part of jfrom array.
It there some workaround to make same naming (with or w/o jform) for all custom fields (JFormField, JFormFieldList, ...) and read them all using JInput as single fields or as part of array?