CFFORM

CFFORM allows you to build a form with CFML custom control tags that provide much greater functionality than standard HTML form input elements.

Note

CFFORM requires the client to download a Java applet. Downloading an applet takes time, so using CFFORM may be slightly slower than using a simple HTML form. In addition, browsers must be Java-enabled for CFFORM to work properly.

Syntax

<CFFORM NAME="name"
    ACTION="form_action"
    ENABLECAB="Yes" or "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. ...

Get Sams Teach Yourself ColdFusion® in 21 Days now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.