i need to add new file field to upload image using filepicker function.
i added the field using below code in editcategory_form.php file.
$mform->addElement('filepicker', 'catimagefile', get_string('categoryimage'), null,$imageoptions);
But, i can't able to add and update this field into `mdl_files` table.
i follow the method for upload badges image, but still there is some issue.
can you help me with the code solution for above issue?