Adobe ColdFusion 8

Building XML skinnable forms

You build ColdFusion XML skinnable forms using standard ColdFusion forms tags, including cfformgroup and cfformitem tags. These tags create the elements of the form, the building blocks of the form.

ColdFusion converts the following tags to XML for processing by the XSLT:

Standard ColdFusion form data control tags: The cfgrid, cfinput, cfselect, cfslider, cftextarea, and tree tags specify the controls that the form displays.

cfformitem tags: Add individual items to your form, such as text or rules. The valid types depend on the skin.

cfformgroup tags: Group, organize, and structure the form contents. The valid types depend on the skin.

These tags are designed so you can develop forms in a hierarchical structure of containers and children. Using this model, the cfform tag is the master container, and its contents are children containers and controls. Each cfformgroup tag defines a container that organizes its child elements.

The specific tags and attributes that you use in your form depend on the capabilities of the XSLT skin. You use only the tag and attribute combinations that the skin supports. If you are using a skin provided by a third party, make sure that the supplier provides information on the supported attributes.