Skip navigation |

File

Allows a user to select a file which will be uploaded when the form is submitted. If the form is emailed, the file will be attached to the email. If the form is saved into the database, the file is discarded. Note that no virus protection is carried out - it is your responsibility to scan incoming emails for viruses. You can optionally save the file to a resource gallery, restrict it to a maximum size, and if the file is a JPG image, scale it.

Last updated: 25 January 2011, 08:55

Mandatory

This form item does not support mandatory items.

Parameters

  1. {scale:xxx} Where xxx is a size in pixels. If the file is an image, the image will be scaled to this length on the longest size, if the image is bigger than this size.
  2. {maxsize:xxxyy} Where xxx is a number and yy is either mb or kb. Restricts the user to only uploading files that are no larger than the size that you specify.
  3. The path of a resource gallery. If supplied, the file will be placed into this resource gallery when the form is submitted. This needs to be in the format '/Resources/Your Site Name/Folder/Sub Folder'

Default Value(s)

This form item type does not accept default values.

Resource Gallery for allowed value images

This form item type does not support allowed value images.

Query String Key

This form item type does not support Query String population.

Example