Chapter 1: ColdFusion Tags
59
CFFORM
CFFORM allows you to build a form with CFML custom control tags that provide much
greater functionality than standard HTML form input elements.
Syntax
<CFFORM NAME="name"
ACTION="form_action"
ENABLECAB="Yes/No"
ONSUBMIT="javascript"
TARGET="window_name"
ENCTYPE="type"
PASSTHROUGH="HTML_attributes">
...
</CFFORM>
NAME
Optional. A name for the form you are creating.
ACTION
Required. The name of the ColdFusion page that will be executed when the form is
submitted for processing.
ENABLECAB
Optional. Yes or No. Allows users to download the Microsoft cabinet (*.cab) file(s)
containing the Java classes used for Java applet-based CFFORM controls. If Yes, on
opening the page, users are asked if they want to download the CAB file.
ONSUBMIT
Optional. JavaScript function to execute after other input validation returns. Use
this attribute to execute JavaScript for preprocessing data before the form is
submitted. See Developing Web Applications with ColdFusion for information on
using JavaScript for form validation.
TARGET
Optional. The name of the window or window frame where the form output will
be sent.
ENCTYPE
Optional. The MIME type used to encode data sent via the POST method. The
default value is application/x-www-form-urlencoded. It is recommended that you
accept the default value. This attribute is included for compatibility with the
HTML FORM tag.
PASSTHROUGH
Optional. HTML attributes that are not explicitly supported by CFFORM. If you
specify an attribute and its value, the attribute and value are passed to the HTML
Summary of Contents for COLDFUSION 4.5-CFML LANGUAGE
Page 1: ...Allaire Corporation CFML Language Reference ColdFusion 4 5...
Page 207: ...Chapter 1 ColdFusion Tags 183 CFCATCH CFTRY BODY HTML...
Page 224: ...200 CFMLLanguageReference CFOUTPUT P Text within CFOUTPUT is always shown CFOUTPUT BODY HTML...
Page 336: ...312 CFMLLanguageReference CFIF BODY HTML...
Page 404: ...380 CFMLLanguageReference DE It is morning CFOUTPUT P BODY HTML...
Page 413: ...Chapter 2 ColdFusion Functions 389 Customer BalanceDue BR CFOUTPUT CFIF BODY HTML...
Page 483: ...Chapter 2 ColdFusion Functions 459 CFOUTPUT CFLOOP BODY HTML...
Page 584: ...560 CFMLLanguageReference...
Page 594: ...570 CFMLLanguageReference...