How to make validation of upload widget?
Application Type
Traditional Web

Hi, How can I make a validation of upload widget? I want to file be only image. 


"At least, with the system Upload, I think only on the server-side.
Don't have any example, but when you reach the server (button has to be submitted to the file to be sent), you can check the Upload in the server, as the properties like the File Content and the File name are available, and you then can check if the file name finishes with ".xlsx" and proceed accordingly.


You have in this link a lot of discussions and solutions about this.

And you have more documentation:

This one is more completed!! :)

Álso I will share my oml version of the solution! :)

A little explanation!

what I did first was taking the type, every image uploaded as image/"jpeg or png, etc.."

Then after i took the first word until the limiter "/" i compared if it is image or not 

To finish, I send a feedback message saying if its an image or not 


Márcio C.


Hello @Giorgi Dzirkvelishvili, any updates? Did this solve your problem?





Hello @Giorgi Dzirkvelishvili 

What @Marcio Carvalho has suggested is absolutely correct. In addition to what he suggested you can use the Service Component too:

Hello Giorgi,

Marking the solution will be helpful for other forum members in the future if they run into a similar issue.

Also, it is a way to give credit to the person/people that helped you :) 

If you found your solution, can you select the solution and close the thread? Thanks

Kind regards,

Marcio Carvalho

Community GuidelinesBe kind and respectful, give credit to the original source of content, and search for duplicates before posting.