Adobe ColdFusion 8

The cfform controls

The following table describes the ColdFusion controls that you use in forms created using the cfform tag. You can use these tags only inside a cfform tag. Unless otherwise stated, these controls are supported in HTML, Flash, and XML skinable forms.

Control

Description

For more information

cfapplet

Embeds a custom Java applet in the form. Not supported in Flash format forms.

Embedding Java applets.

cfcalendar

Displays an interactive Flash calendar that can be included in an HTML or Flash format form. ignored in XML skinable forms. The calendar lets a user select a date for submission as a form variable.

The cfcalendar tag in the CFML Reference

cfform

Creates a container control for organizing and formatting multiple form controls. Used in the cfform tag body of Flash and XML skinable forms. Ignored in HTML forms.

Creating Forms in Flash, Creating Skinnable XML Forms

cfformitem

Inserts a horizontal line, a vertical line, or formatted or unformatted text in a Flash form. Used in the cfform or cfformgroup tag body for Flash and XML forms. Ignored in HTML forms.

Creating Forms in Flash, Creating Skinnable XML Forms

cfgrid

Creates a Java applet or Flash data grid that you can populate from a query or by defining the contents of individual cells. You can also use grids to insert, update, and delete records from a data source.

Creating data grids with the cfgrid tag

cfinput

Equivalent to the HTML input tag, with the addition of input validation.

Creating a basic form

cfselect

Displays a selection box. Equivalent to the HTML select tag, with the addition of input validation.

Building drop-down list boxes

cfslider

Creates a Java applet-based control that lets users enter data by moving a slider. Not supported in Flash format forms.

Building slider bar controls

cftextarea

Displays a text input area. Equivalent to the HTML textarea tag, with the addition of input validation.

The cftree tag in the CFML Reference

cftree

Creates a Java applet or Flash hierarchical tree-format control that can include graphical images for the different elements. Can also generate a ColdFusion structure that represents the tree data and attributes.

Building tree controls with the cftree tag