category
category
category
Field component to liase with all category field types
Examples
<cfproperty
name="catBasic" type="longchar" required="no" default=""
fttype="category" />
<cfproperty
name="catNews" type="longchar" required="no" default=""
fttype="category" ftAlias="news" />
<cfproperty
name="catSelect" type="longchar" required="no" default=""
fttype="category" ftRenderType="dropDown" />
<cfproperty
name="catSelect" type="longchar" required="no" default=""
fttype="category" ftRenderType="dropDown" ftSelectSize="10"
ftDropdownFirstItem="Please Select..." />
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 |
ftAlias |
|
|
No |
Used to render only a particular branch of the category tree. |
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 |
ftDropdownFirstItem |
|
|
No |
Used when ftRenderType is set to dropDown, prepends an option to select list with null value. |
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. |
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. |
ftLegend |
|
|
No |
Used when ftRenderType is set to prototype or extjs. Inserts a legend above category tree. |
ftRenderType |
jquery |
|
No |
This formtool offers a number of ways to render the input. (dropdown, prototype, extjs, jquery) |
ftSelectMultiple |
true |
|
No |
Allow selection of multiple items in category tree. (true, false) |
ftSelectSize |
5 |
|
No |
Used when ftRenderType is set to dropDown, specifies the size of the select field. |
ftSeq |
|
|
No |
Used if you are relying on the framework to render your form. Used to sort the fields on the form. |
ftStyle |
|
|
No |
CSS Style that can be used on the formtool input |
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 |
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. |