Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: added ftEditMethod

...

Attribute

Description

Value

ftlabel

Text label for the form element

Defaults to property name if absent.

ftshowlabel

Flag to show/hide text label for the form element

Defaults to true.

ftSeq

Numeric value for form field display order

No default value.

ftFieldset

Text used as a title to group a set of fields.

No default value.

ftWizardStep

Allows you to create multi-step forms. Set to the title of the step as you would ftFieldset

No Default Value.

ftstyle

Inline style to apply to form element.

No default value.

ftclass

Class to apply to form element.

No default value.

ftDisplayOnly

Boolean that prevents the field from being editable.

False

ftDefault

Default form field value

No default value.

ftDefaultType

The type of default value; value, expression or evaluate.

Defaults to value.

fthelptitle

Title of a fieldset related inline help. Only works on the first property in a fieldset.

n/a

fthelpsection

Section text for inline help related to fieldsset. Only works on the first property in a fieldset.

n/a

ftvalidation

A comma separated list of validation requirements.

n/a

fthint

A small inline hint that appears below the field to assist users.

n/a

ftEditMethod

Specify a function name.
eg. myEditFunction cffunction name="myEditFunction"
Can then be overwritten in 'ft:object' using 'stPropMetadata'

Defaults to ftEdit<propertyName>
eg. cffunction name="ftEdit<propertyName>"

Tip
titleftDefaultType Options

Examples of default type usage.

For todays date, use ftdefault="now()" ftdefaulttype="evaluate" and you'll get the result of Evaluate(now())

Expression does this Evaluate(DE(yourvalue)) – no good example springs to mind.

...