list

List Field

Attribute

Description

Default Value

ftList

Comma separated list of values or variable:value pairs to appear in the drop down.

apple,orange,kiwi or APP:apple,ORA:orange,KIW:kiwi

ftRenderType

The display format to render the list.

dropdown or checkbox or radio

ftSelectMultiple

Boolean toggle for single or multiple select options.

false

ftListData

Method call that must return a string in the same variable value pair format as the ftlist attribute
OR a query containing the columns value & name. Method gets passed the objectid of the currently edited object as an argument.

apple,orange,kiwi or
APP:apple,ORA:orange,KIW:kiwi or
queryNew("value,name")

ftListDataTypename

Specific typename to call ftlistdata method on.

By default it looks at the current content type.

Sample Code

Sample Code Implementation
<cfproperty
 ftSeq="15"
 ftFieldset="Colors"
 name="podHeaderColor"
 type="string"
 hint="Pod Header Color"
 required="false"
 default=""
 ftLabel="Pod Header Color"
 ftType="list"
 ftListData="podColors"
 ftListDataTypename="ruleProfile" />