BackUp LevelNext

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"
...
</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.

Usage

The following custom control tags are available:

The ENABLECAB attribute is supported only for MS Internet Explorer clients that have Authenticode 2.0 installed. Authenticode 2.0 can be downloaded from http://www.microsoft.com/ie/security/authent2.htm.

Note

These CAB files are digitally signed using VeriSign digital IDs to ensure file security.


BackUp LevelNext

allaire

AllaireDoc@allaire.com
Copyright © 1998, Allaire Corporation. All rights reserved.