cfformitem
Inserts a horizontal line, a vertical line, a spacer, or text in a Flash form. Used in the cfform or cfformgroup tag body for Flash and XML forms. Ignored in HTML forms.
<cfformitem type="html">
cfformitem(type="html");
The cfformitem tag was REMOVED from ColdFusion 2025 and has been DEPRECATED since ColdFusion 2016
Attribute Reference
type string Required
Form item type. See docs for more details.
Values:
htmltextscriptspacerhrulevrule
style string
Flash: Must be a style specification in CSS format. Ignored if the type attribute is HTML or text. XML: ColdFusion passes the style attribute to the XML. ColdFusion skins include the style attribute to the generated HTML.
width numeric
Width of the item, in pixels. If you omit this attribute, Flash automatically sizes the width. In ColdFusion XSL skins, use the style attribute, instead.
height numeric
Height of the item, in pixels. If you omit this attribute, Flash automatically sizes the width. In ColdFusion XSL skins, use the style attribute, instead.
enabled boolean
Default: true
true
Boolean value specifying whether the control is enabled. Disabled text appear in light gray. Has no effect on spacers and rules. Default: true
Values:
truefalse
visible boolean
Default: true
true
Boolean value specifying whether to show the control. Space that would be occupied by an invisible control is blank. Has no effect on spacers. Default: true
Values:
truefalse
tooltip string
Text to display when the mouse pointer hovers over the control. Has no effect on spacers.
bind string
A Flash bind expression that populates the field with information from other form fields. If you use this attribute, ColdFusion MX ignores any text that you specify in the body of the cftextitem tag. This attribute can be useful if the cfformitem tag is in a cfformgroup type="repeater" tag.
Compatibility
ColdFusion:
DEPRECATED since version 2016 REMOVED in version 2025
Examples Sample code using the cfformitem tag
© 2012–present Foundeo, Inc. and the CFDocs contributors.
Licensed under the MIT License.
ColdFusion is a trademark of Adobe Systems Incorporated.
https://cfdocs.org/cfformitem