You can force the form to only accept uploaded attachments with a maximum file size limit. To find the option, go to:
Attachment field settings
Upload section
Attachment Size Limit.
Attachment size limits are in MB.
Related
Enter a size greater than zero. You can use a decimal, such as 0.5 MB. The limit applies to new uploads; existing files served directly from Airtable are not checked again when you save the record.