I am creating a custom form field inside a module that generates groups of fields according to total number of records in a database table.
Inside the groups of fields there are text fields but also want to display a file selector dropdown field.
I am questioning if it is possible to display joomlas filelist field by calling it from inside my custom field model php file.
So ideally inside my php I could call like:
echo createFilelistField(options)
and in the module form it will display the fileslist dropdown.
I think I can use JHTMLselect and pass the array of files using JFile (or no?) but becasue this already exist as code in the joomla filelist field, it would be nice to know if there is a quick way to directly call it from php.
Anyone knows a solution, so to maximize what is avaliable in joomla?