Limit File Type Uploads to Spreadsheets Only (.xlsx, .xls, and .csv)

How can I limit the file types to three types for spreadsheets only - .xlsx, .xls, and .csv.

I can see the validation rules, but it seems it is only for one file type.

u

Hi @Quynh-Tram,

Good question! :slightly_smiling_face: If you want to allow only .XLSX file types to be uploaded in your File field from the Live App, the way you have your validation rule set in your screenshot will work.

If you also want to allow .XLS and .CSV file types to be uploaded as well, you could add two more criteria by clicking the plus sign icon found to the right of your existing criteria:

The validation rule setup in the screenshot above that I shared would prevent users from uploading any file types other than those three (.XLSX, .XLS, or .CSV.). I hope this helps, but if you need any other guidance, please don’t hesitate to reach out to our support team: Create Support Ticket

Also, here is our Validation Rules article in case that could be useful to you: Using Validation Rules

1 Like

Thank you so much Les!

1 Like