Normally, the required="fieldname" paramter allows to require a field. In the case of “file1”, ie when trying to require an attachment, this fails with the following error message:
Undefined index: file1 in ..../modules/freeform/mod.freeform.php on line 657
