I represent a Manager.cfc field.
Attribute |
Req/Opt |
Default |
Description |
---|---|---|---|
name |
optional |
|
The name of the field. |
Label |
required |
|
The label for the field which will be used for an user-targetted reference to the field (form labels, column headers etcetera). |
type |
required |
|
The field type. |
Length |
required |
|
The maximum number of character allowed for a text field. |
Folder |
required |
|
The name of the folder in which to place a file. |
Accept |
required |
|
A list of acceptable mime-types for an uploaded file. |
Extensions |
required |
|
A list of acceptable file extensions for an uploaded file. |
original |
optional |
|
For type="thumb" the name of the field holding the image for which this is a thumbnail. |
MinBox |
optional |
|
For type="image", the minimum height and width of an uploaded image. An exception will be thrown for smaller images. |
MaxWidth |
optional |
|
For images and thumbnails, the maximum width of an uploaded image. Larger images will be resized to fit. |
MaxHeight |
optional |
|
For images and thumbnails, the maximum height of an uploaded image. Larger images will be resized to fit. |
MaxSmallSide |
optional |
|
For images and thumbnails, the smallest of width/height must be at least this size or an exception will be thrown. |
thumbfield |
optional |
|
For images, the name of a field holding a thumbnail that should be used on the form instead of the full sized image. |
required |
optional |
|
Indicates if the form field is required. |