Desktop/Browser File Upload Validation before Save

@lizlynch @Adam-google @Jose_Arteaga

I previously came across this error sent by my clients and could not really identify the cause of it.

Recently another client had this error and explained his steps, perhaps you can confirm and look into performing some form of validation check before saving.

1. Scenario Leading to Error

​This issue occurs on the Desktop/Browser when a user tries to upload an attachment to a File Type column.

  • Step 1: User opens the form.

  • Step 2 (Action): User drags and drops an entire Folder (e.g., C:…\project) onto the file field, instead of a file (Zip, PDF, etc.).

  • Step 3: User clicks Save.

  • Step 4 (Result): There is NO immediate error or warning.

  • Step 5 (Failure): The platform sync fails, forcing the user to discard the entire action.

2. Root Cause and Platform Behavior

​The platform currently lacks validation during the drag-and-drop process on browser.

  • Absence of Validation: The File Field does not prevent an entire folder from being received.

  • Saving Issue: It fails to validate this invalid ‘file’ (the folder path) upon saving, leading to sync failure.

  • Limitation: The platform offers no way to restrict allowed attachment types.

3. Requested Enhancements

​May I request two features to prevent this recurring error:

A. Folder Drag-and-Drop Protection

  • Request: Implement protection to reject an entire folder immediately upon detection during drag-and-drop.

  • Goal: Provide instant visual feedback (e.g., “Not Allowed” or “Invalid File”) so the user is stopped before clicking Save.

B. Configurable File Extension Whitelist

  • Request: Provide an option to specify permitted file extensions for the column to work on both mobile and desktop.

  • Suggestion: Allow a comma-separated list when configuring the column, such as: pdf, jpg, png, tiff, zip, rar

  • Goal: Enforce business rules and prevent uploads of unwanted file types.

​Thank you for looking into this, we appreciate our voices being heard!

4 Likes

Hello @Denzil_Snyman,

Thank you for raising this issue. The product team will assess the feasibility and viability of incorporating these features into the product, and I will provide an update promptly.

I’ll be looking forward to it!

1 Like

:grinning_face: Me too….

Feasability - Surely possible, many platforms have this already in place years ago.

Viability - Definitly not an abnormal feature and aligns with business goal in many scenarios.

1 Like

Shooting a quick update: We found a way to do it, Shourya will be working on final details and share accordingly

5 Likes

@Jose_Arteaga @Shourya_Tomar

Thank you for the update, that is such wonderful news to hear… can’t wait for some details.

2 Likes