hello, I have a problem, I have in my database two fields, in both I save the link of a file, in one, an image, and in the other a file (PDF), I need, when I am adding or editing, when I select the Upload file, allow only the specific type of file. I do this:
//--- (end) Upload single file ---//
//--- (END) Upload single image ---//
But, when I insert the first thing is the PDF, and it saids that can not be upload, and when I comment 'grocery_crud_file_upload_allow_file_types', 'jpg|jpeg|gif|png it works, but I need restrict the types.
thanks in advance.