Currently, when using a form in REWST to upload files, there is no built-in mechanism to restrict the file types that users can select. When requesting specific file formats from users, this limitation forces administrators to handle validation inside a subworkflow after the form has already been submitted. This creates a poor user experience: if a user uploads an invalid file, they only find out after submission, forcing them to repeat the entire process from scratch. Proposed Solution: Add functionality to define allowed file types directly at the form field level. Technical Details: Configuration Option: Allow administrators to specify permitted file extensions (e.g., .csv, .html, .pdf) or MIME types (e.g., text/csv, text/html, application/pdf) directly in the form field configuration. Frontend Validation & Error Handling: Prevent the upload or provide immediate, clear error messages on the form before submission when a user attempts to select a disallowed file type. Benefits: Improves User Experience (UX): Prevents user frustration by catching invalid file types instantly on the form, rather than failing later in a subworkflow and forcing the user to restart the process. Improves Data Integrity: Ensures only expected file formats are processed. Security: Reduces the risk of invalid or malicious file submissions reaching downstream workflows. [=🤖=]