I have created a file type custom field and discovered that you can upload any type of file on the field so I want to restrict the custom field to only upload image files. Is it possible?
1 Answer
You can use validateForm in an extension to restrict it.
You can also vote for this ticket: https://lab.civicrm.org/dev/core/-/issues/2410
-
Although it didn't directly fix my problem but this helped me get the idea how to fix it.. thanks Mar 9, 2021 at 4:26