|
File Upload Fields |
Top Previous Next |
|
To create a file upload field, click on the button 'Add field' or the icon A message 'If you change field type some settings will be lost. Do you want to continue?' will pop up. Click OK. If you want to make the field required, select a check rule 'Not empty'.
The 'Advanced.' section. Here you can change the following settings for the field: - The field's Layout: caption next to /above the field. To change the layout, click on the arrow like buttons and set the required field location. - Field color specifies the color for the field - Caption style / Control style are the CSS control fields, where you can indicate CSS HTML to change the look of the field (e.g. color: red; font-style: oblique; font-weight: bold; font-family:Tahoma;) - File extension field specifies the allowed file types for the upload (e.g. png,jpeg,doc, etc.) - Max File Size sets the maximum allowed file size that can be uploaded via the form. Values are defined in bytes. Click on the button 'Save' to save the changes.
You have the option to receive the uploaded files as a browse/download link or attach them to email. Go to the Form Options and check a checkbox next to 'Send file (link/attach)'. Once checked, uploaded files will be sent in the email body. If the checkbox is unchecked, uploaded files are stored on your server within the phpForms directory in the folder called 'files'. When you see a message 'Can't send attachment' after the 'upload files' form is submitted, this means that users left the upload field blank.
|