<CFFORM NAME="name"
ACTION="form_action"
ENABLECAB="Yes/No"
ONSUBMIT="javascript"
TARGET="window_name">
ENCTYPE="type"
...
</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.
|