Adding and Customizing the File Upload Field in Divi Form Builder
The File Upload Field in the Divi Form Builder module allows users to upload files to the WordPress Media section of your website. This field supports multiple file uploads and offers several customization options to enhance user experience..
Video
Step 1: Add Form Field
- Navigate to the page with your form and open the
Form Builder module
. - Click on the
Add New Field
button to start adding a new form field.
Step 2: Select File Upload Field
- Enter a descriptive
Field Title
for the field that users will see. - Enter a
Admin Title
for administrative purposes to help identify the field. - Assign a unique
Field ID
to the field for data handling. - Select
File Upload Field
field from the Type dropdown menu.
Step 3: Customize File Upload Field
In additional to the styling features in the Design Tab
, Divi Form Builder offers customization options for the File Upload Field HERE.
Field Options:
Add Form Builder Prefix to Field
: Disable this option to directly input the field ID and Name. Only disable this option for specific cases, such as when using the form with Google Tag Manager.Max Upload File Counts:
Limit the maximum number of files that can be uploaded.Max Number of Files Exceed Error:
Customize the error message when the file count exceeds the limit.Max Upload File Size:
Set the maximum file size for uploads.Max Upload File Size Error:
Customize the error message when the file size exceeds the limit.Accepted File Types:
Specify the types of files that can be uploaded (e.g., .pdf, .doc, .jpg).Accepted File Types Error:
Customize the error message when an unsupported file type is uploaded.Upload Error Hide Delay (Milliseconds):
Set the duration for how long the error message should be displayed.If on Edit Form - Remove File from Media Library:
Enable the option to remove the file from the media library on the Edit Form.If on Edit Form - Remove File Confirm Message:
Customize the confirmation message when removing a file from the Edit form.Required:
Make the file upload field mandatory for form submission.
Additional Tips
By following these steps, you can effectively add and customize the File Upload Field in Divi Form Builder. Utilize the various customization options to ensure the field meets your specific requirements and provides a seamless user experience. This setup allows users to easily upload files, enhancing the functionality of your forms.