The Contact Form module doesn't include a File Upload option. The types of fields that are available by default for the Contact Form module are:
Input Field
Email Field
Textarea Field
Checkbox Field
Radio Buttons
Select Field
You can install the Divi Contact Form Helper plugin to gain access to a File Upload option.
Using Divi Contact Form Helper to add a File Upload option
Install and activate the Divi Contact Form Helper plugin.
Open the Contact Form module and Add a New Field.
Set the field's ID - use only English characters and no spaces.
Example:
- Incorrect field id:This is my field ID
- Correct field id:this_is_my_field_id
Choose the field's Label text. This text will be displayed on the front end for that particular field.
Expand the Field Options group and select the field type to be Input Field.
Expand the File Upload Settings option group.
Enable Use As File Upload Field.
Set the Maximum Number of Files that a user is allowed to upload.
Use the Allowed File Types section to choose which file types can be uploaded.