Validate Upload widget

Validate Upload widget

  
Hi guys, Can anyone tell me how do I validate to restrict only the images in the upload widget?

What should I give in the If statement to filter only the images.?
Hi Satish,
Before uploading it you can check file extension and restrict user. Also there are other upload controls in Forge which gives this facility.
Check this

http://www.outsystems.com/forge/component/352/file-upload/


Regards
-PJ-

Pramod Jain wrote:
Hi Satish,
Before uploading it you can check file extension and restrict user. Also there are other upload controls in Forge which gives this facility.
Check this

http://www.outsystems.com/forge/component/352/file-upload/


Regards
-PJ-
 
 How do I check the file extension? Upload1.Type = ?
 
Use Upload1.Filename and get the file extension from file name . Regards -PJ-