Name
cfform
Synopsis
<cfform> ... </cfform>
Creates a form capable of using controls, including HTML input types such as input boxes, drop-down boxes, and radio buttons, as well as a number of specialized Java applets, such as tree, grid, and slider controls.
New in ColdFusion MX, the preservedata attribute
now works with radio button and checkbox types provided the value of
the control matches the value of the posted data.
Attributes
-
action="form_action" Location (page) where the form should be submitted upon completion. Optional.
-
archive="URL" Specifies the URL to a downloadable Java archive file containing Java-based
cfformcontrols. Optional. The default URL is /CFIDE/classes/cfapplets.jar.-
class="style_name" Name of a CSS (Cascading Style Sheet) style to apply to the HTML
formtag generated bycfform. Optional.-
codebase="URL" Specifies the URL to a downloadable JRE plugin for MS Internet Explorer. Optional. The default URL is /CFIDE/classes/cf-j2re-win.cab.
-
enablecab="Yes|No" No longer supported in ColdFusion MX or ColdFusion 5. Whether or not Java controls associated with other
cfformelements should be made available to Microsoft Internet Explorer users as Microsoft cabinet files. Optional.-
enablejar="Yes|No" Not currently supported (in the initial MX release). Optional.
-
enctype="MIME_type" The MIME type for data being submitted via the Post method. Optional. The default is
application/x-www-form-urlencoded. If, however, you plan to allow file uploads via your ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access