Array Upload

Array Upload

Array Upload

A cross between the array and image formtools

Formtool Metadata

Attributes

Name Default Options Required Hint
ftAjaxMethod No The function that will be used to render the html output for ajax requests of a property
ftAllowCreate true true, false No Allows user create new record within the library picker
ftAllowedFileExtensions No The list of file extensions allowed. The default is to borrow the attribute on the related file property.
ftAllowEdit false true, false No Allows user edit new record within the library picker
ftAllowRemoveAll false true, false No Allows user to remove all items at once
ftAllowSelect true true, false No Allows user to select existing records within the library picker
ftClass No CSS Class that can be used on the formtool input
ftDisplayMethod No The function that will be used to render the html output for displaying a property
ftEditableProperties No If ftAllowEdit is enabled, this property restricts which properties are ediable. Note that using this value will switch the default edit dialog to a minimalist one suitable for front end use.
ftEditMethod No The function that will be used to render the html output for editing a property
ftFieldset No Used if you are relying on the framework to render your form. Used to group the fields into HTML fieldsets.
ftFileProperty No The property on the related type that the file is uploaded against. This defaults to sourceImage for dmImage and filename for dmFile. Other relationships must have an explicit value.
ftFirstListLabel -- SELECT -- No Used with ftRenderType, this is the value of the first element in the list
ftJoin comma seperated list of types Yes A single related content type e.g 'dmImage'
ftLabel No Used by the FarCry form layout as the label of the form field. This will default to the [name].
ftLabelAlignment inline inline, block No Used by FarCry Form Layouts for positioning of labels. inline or block.
ftLibraryData No Name of a function to return the library data. By default will look for ./webskin/typename/librarySelected.cfm
ftlibrarydatasqlorderby datetimelastupdat... No Nominate a specific property to order library results by.
ftlibrarydatasqlwhere No A simple where clause filter for the library data result set. Must be in the form PROPERTY OPERATOR VALUE. For example, status = 'approved'
ftLibraryDataTypename No Typename containing the function defined in ftLibraryData
ftLibraryListItemHeight No ???
ftLibraryListItemWidth No ???
ftLibrarySelectedWebskin librarySelected No The webskin to use for items displayed in the library picker
ftListWebskin librarySelected No The webskin to use for items displayed in the form
ftRemoveType remove delete, detach No detach will only remove from the join, delete will remove from the database
ftSeq No Used if you are relying on the framework to render your form. Used to sort the fields on the form.
ftSimUploadLimit 3 No The maximum number of simultaneous uploads.
ftSizeLimit No The upload size limit. The default is to borrow the attribute on the related file property.
ftStyle No CSS Style that can be used on the formtool input
ftTileHeight 100 No Height of item tile
ftTileWidth 100 No Width of item tile
ftType No Tells the framework which of the formtool ui components to use when rendering your form. This will default to the [type].
ftValidateMethod No The function that will be used to render the html output for validating (processing) a property form submission
ftValidation No List of CSS classes that can be used for js validation
ftView list tiled, list No Allows the formtool to be switched between the traditional list view of normal array fields and a tiled view appropriate for images.
ftWizardStep No Used if you are relying on the framework to render your form. Used to setup a wizard which is a multi step form process.