442
Views
2
Comments
How to upload a particular file type and do validations in Reactive web app?
Question

Hi,
   I have used normal File upload widget available in the reactive web. When I try to give Accept property value as ".pdf, .txt" it gets automatically converted to the value as "Any".
How do I restrict the file type ? I also need to validate only user can be able to upload certain file format?

2021-02-19 12-08-38
Igor Khodak

Hey Annie,

To ensure the file type is valid, you'll want to implement some logic.

Check out the forum for solutions, here's an example to guide you:
https://www.outsystems.com/forums/discussion/83594/how-to-upload-upload-files-like-only-pdf-images-word-document/

2021-06-02 20-50-04
Márcio Carvalho

Check this thread. I think there is other similar questions on the forum to help you :)

https://www.outsystems.com/forums/discussion/70062/how-can-add-validation-for-uploading-files/


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