Dashboard > FarCry 4.0 Developers Guide > Home > Formtools Technology > Form Tool Property Metadata > list
Added by Geoff Bowers , last edited by Matthew Bryant on May 27, 2007  (view change)
Labels: 
(None)

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" />

Powered by a free Atlassian Confluence Open Source Project License granted to FarCry CMS. Evaluate Confluence today.
Powered by Atlassian Confluence 2.7, the Enterprise Wiki. Bug/feature request - Atlassian news - Contact administrators