Cfinput - MACROMEDIA COLDFUSION 4.5-CFML LANGUAGE Reference

Cfml language reference
Table of Contents

Advertisement

Chapter 1: ColdFusion Tags

CFINPUT

CFINPUT is used inside
Provides input validation for the specified control type.
CFINPUT supports the JavaScript onClick event in the same manner as the HTML
INPUT tag:
<CFINPUT TYPE="radio"
NAME="radio1"
onClick="JavaScript_function">
Syntax
<CFINPUT TYPE="input_type"
NAME="name"
VALUE="initial_value"
REQUIRED="Yes/No"
RANGE="min_value, max_value"
VALIDATE="data_type"
ONVALIDATE="javascript_function"
MESSAGE="validation_msg"
ONERROR="text"
SIZE="integer"
MAXLENGTH="integer"
CHECKED="Yes/No"
PASSTHROUGH="HTML_attributes">
TYPE
Optional. Valid entries are:
Text — Creates a text entry box control (default).
Radio — Creates a radio button control.
Checkbox — Creates a checkbox control.
Password — Creates a password entry control.
NAME
Required. A name for the form input element.
VALUE
Optional. An initial value for the form input element.
REQUIRED
Optional. Enter Yes or No. Default is No.
RANGE
Optional. Enter a minimum value, maximum value range separated by a comma.
Valid only for numeric data.
VALIDATE
Optional. Valid entries are:
CFFORM
to place radio buttons, checkboxes, or text boxes.
109

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the COLDFUSION 4.5-CFML LANGUAGE and is the answer not in the manual?

Questions and answers

This manual is also suitable for:

Coldfusion 4.5

Table of Contents