Is it possible to validate the file type?

In order to validate images, you have to add “images only” option into your widget configuration. For other types of files, you have to configure validator and restrict files types by file extension. For example:

See the Pen validate file type by uploadcare (@uploadcare) on CodePen.