field

field

Attributes

Used if you are relying on the framework to render your form. Used to sort the fields on the form.

ftFieldset

No

Used if you are relying on the framework to render your form. Used to group the fields into HTML fieldsets.

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.

ftType

No

Tells the framework which of the formtool ui components to use when rendering your form. This will default to the [type].

ftLabel

No

Used by the FarCry form layout as the label of the form field. This will default to the [name].

ftLabelAlignment

No

inline

inline,block

Used by FarCry Form Layouts for positioning of labels. inline or block.

ftMultiField

No

false

add wrapper div with class of multiField for extra styling.

ftClass

No

CSS Class that can be used on the formtool input

ftStyle

No

CSS Style that can be used on the formtool input

ftPlaceholder

No

CSS placeholder text

ftValidation

No

List of CSS classes that can be used for js validation

ftEditMethod

No

The function that will be used to render the html output for editing a property

ftDisplayMethod

No

The function that will be used to render the html output for displaying a property

ftValidateMethod

No

The function that will be used to render the html output for validating (processing) a property form submission

ftAjaxMethod

No

The function that will be used to render the html output for ajax requests of a property

ftAutoSave

No

false

Should the object be saved if the field changes?

ftWatchFields

No

If any of these fields change, then update the current field? Use the format 'typename.property' if you wish to update all field regardless of object. Use just 'property' if you wish to update just that object.