Label – This is the label that will be displayed with the form element.

Max file size (in kB) – You can set a maximum upload size.  If this is left blank, the default is 10MB.  However, you may be limited by your host as to the maximum upload size.

Only allow – This is a list of file extensions, telling the form which file types it may accept.  Only file types found in this list will be accepted by the form.  This field has no effect if it is left blank.  Enter a list of extensions, including the periods, separated by commas in between.  For example, to include text (txt), Word documents (doc) and rich text (rtf), you would enter “.txt, .doc, .rtf” in the box.

Do not allowA list of file extensions that the form will reject.  As long as a file is not one of the types in this list, the form will accept the upload.  This field has no effect if it is left blank.  The same text entry rules apply here as to ‘Only allow‘.

Upload directory – This is where file uploads will be placed on your server’s filesystem.  If you specify an upload directory the files will not be stored in the database, only the name and size of the file.  If this is left blank, then Form Manager will manage file uploads for you, and they will be stored in your WP database rather than on your server’s filesystem.

You can use the following codes in the ‘Upload directory’ field :

  • %doc_root% – your site’s root folder on the server (this will be replaced with whatever is in $_SERVER[‘DOCUMENT_ROOT’]).
  • %wp_uploads_dir% – the folder specified in the WordPress administration section under Settings > Media > Uploading Files.

Upload URL – This is the web address corresponding to the upload directory.  It is used for links to the uploaded files in e-mail notifications, summaries, and the ‘Submission Data’ tab of the form editor.  If this is left blank, then no links will be generated, but the files will still be uploaded to the upload directory.

You can use the following codes in the ‘Upload URL’ field (ONLY AS OF 1.5.24):

  • %site_url% (ONLY AS OF 1.5.24)- your site’s base URL, specified in the WordPress administration section under Settings > General > Site address (URL).
  • %wp_uploads_url% – the URL of the folder specified in the WordPress administration section under Settings > Media > Uploading Files.

Name Format – Uploaded files can have a timestamp added to the filename. You can choose how to format the timestamp by editing this field. By default, the name format is:

%filename% (m-d-y-h-i-s)

This will place the file name (without the extension) in place of ‘%filename%’, and add  a timestamp with the current month, day, year, hour, minute, and second, separated by dashes. The timestamp format is equivalent to the PHP date() function format.