A simple way to hide attachment files uploaded through File Upload.
Create a hidden field, called $V2AttachmentOptions with the following properties:
- Type: Text, Computed for display
- Value : "0"
This will hide the attachments uploaded through a file upload control from the user.