<html>
<head>
<link href="mmres://user_interface_reference.css" rel="stylesheet" type="text/css">
<title>CFINPUT</title>
</head>
<body bgcolor="#FFFFFF" text="#000000">
   <div id="Description">
   <table cellpadding="0" cellspacing="0" border="0" width="100%" class="main">
      <tr> 
         <td valign="top" class="name">CFINPUT</td>
         <td valign="top" nowrap class="compatibility">&nbsp;</td>
      </tr>
      <tr>
         <td colspan="2" class="divider"><img src="dwres:18084" width="100%" height="1"></td>
      </tr>


    </td>
  </tr>
  <tr>
    <td valign="top" colspan="2" class="description"><span class="title">Description</span>
<p>
Used within the cfform tag, to place input controls that support input validation on a form. 
</p>
    </td>
  </tr>
  <tr>
    <td valign="top" colspan="2" class="CLEARSEPARATION">&nbsp;</td>
  </tr>
  <tr>
    <td valign="top" colspan="2" class="description"><span class="title">Category</span>
<p>
Forms tags
</p>
  <tr>
    <td valign="top" colspan="2" class="CLEARSEPARATION">&nbsp;</td>
  </tr>
  <tr>
    <td valign="top" colspan="2" class="syntax"><span class="title">Syntax</span><pre>&lt;cfinput 
name = &quot;name&quot;
type = &quot;input type&quot;
label = &quot;text&quot;
style = &quot;style specification&quot;
required = &quot;yes&quot; or &quot;no&quot;
mask = &quot;masking pattern&quot;
validate = &quot;data type&quot;
validateAt= one or more of &quot;onBlur&quot;, &quot;onServer&quot;, &quot;onSubmit&quot;
message = &quot;text&quot;
range = &quot;min_value, max_value&quot;
maxlength = &quot;number&quot;
pattern = &quot;regexp&quot;
onValidate = &quot;script name&quot;
onError = &quot;script name&quot;
size = &quot;integer&quot;
value = &quot;initial value&quot;
bind = &quot;bind expression&quot;
checked
disabled = &quot;true&quot; or &quot;false&quot; or no attribute value
src = &quot;image URL&quot;
onKeyUp = &quot;JavaScript or ActionScript&quot;
onKeyDown = &quot;JavaScript or ActionScript&quot;
onMouseUp = &quot;JavaScript or ActionScript&quot;
onMouseDown = &quot;JavaScript or ActionScript&quot;
onChange = &quot;JavaScript or ActionScript&quot;
onClick = &quot;JavaScript or ActionScript&quot;
firstDayOfWeek = &quot;day name&quot;
dayNames = &quot;days-of-the-week labels&quot;
monthNames = &quot;month labels&quot;
enabled = &quot;Yes&quot; or &quot;No&quot;
visible = &quot;Yes&quot; or &quot;No&quot;
toolTip = &quot;Tip text&quot;
height = &quot;number of pixels&quot;
width = &quot;number of pixels&quot;
&gt;
</pre>    </td>
  </tr>
  <tr>
    <td valign="top" colspan="2" class="CLEARSEPARATION">&nbsp;</td>
  </tr>
  <tr>
    <td valign="top" colspan="2" class="description"><span class="title">See also</span>
<p>
cfapplet, cfcalendar, cfform, cfformgroup, cfformitem, cfgrid, cfselect, cfslider, cftextarea, cftree
</p>
    </td>
  </tr>
  <tr>
    <td valign="top" colspan="2" class="CLEARSEPARATION">&nbsp;</td>
  </tr>
  <tr>
    <td valign="top" colspan="2" class="description"><span class="title">History</span>
<p>
ColdFusion&#160;MX&#160;7: 
</p>
<ul>

<li>Added support for button, file, hidden, image, reset, and submit controls.</li>

<li>Added support for generating Flash and XML controls (specified in the cfform tag).</li>

<li>Added datefield type (Flash forms only) and the supporting daynames and monthnames attributes.</li>

<li>Added bind, enabled, height, label, tooltip, visible, and width attributes for use in Flash forms.</li>

<li>Added support for onBlur and onServer validation, including the validateAt attribute.</li>

<li>Added USdate, range, boolean, email, URL, uuid, guid, maxlength, noblanks, and submitOnce validation attribute values.</li>

<li>Added support for preventing multiple submissions.</li>

<li>Added the mask attribute.</li>

<li>Deprecated the passthrough attribute. The tag now supports all HTML input tag attributes directly.</li>
</ul>

<p>
ColdFusion&#160;MX: Changed the cfform tag preserveData attribute behavior: if it is set to True, ColdFusion checks radio and check box values only if their value matches the posted value for the control. (In earlier releases, if the posted value did not match any of the cfinput check boxes or radio buttons for the control, the checked attribute was used.
</p>

<p>
The following table lists attributes that ColdFusion uses directly. The tag also supports all HTML form tag attributes that are not on this list, and passes them directly to the browser.
</p>
<table>
  <tr valign="top">
    <td width="30"><strong>Note: </strong></td>
    <td>Attributes that are not marked as supported in XML are not handled by the skins provided with ColdFusion MX. They are, however, included in the generated XML.</td>
  </tr>
</table>
<p>
&lt;em&gt;
</p>
<table>
  <tr valign="top">
    <td width="30"><strong>Note: </strong></td>
    <td>Attributes that are marked as not supported in XML are not handled by the skins provided with ColdFusion MX. They are, however, included in the generated XML.</td>
  </tr>
</table>    </td>
  </tr>
  <tr>
    <td valign="top" colspan="2" class="CLEARSEPARATION">&nbsp;</td>
  </tr>
  <tr>
    <td valign="top" colspan="2" class="description"><span class="title">Usage</span>
<p>
For this tag to work properly. the browser must be JavaScript-enabled.
</p>

<p>
If the cfform preserveData attribute is true and the form posts back to the same page, the posted value of the cfinput control is used, instead of its Value or Checked attribute.
</p>

<p>
You can use the keyboard to access and select dates from a datefield Flash input: press Tab to go to the field and press the Spacebar to open the menu. Use the Up, Down, Left, and Right Arrow keys to change the selected date. Use the Home and End keys to reach the first and last enabled date in a month, respectively. Use the Page Up and Page Down keys to reach the previous and next month, respectively. 
</p>
<table>
  <tr valign="top">
    <td width="30"><strong>Note: </strong></td>
    <td>To clear a datefield entry, select the field to open the menu, and click the selected date.</td>
  </tr>
</table>
<p>
For more information, see cfform. For information on using JavaScript regular expressions with this tag, see Chapter&#160;27, "Building Dynamic Forms with cfform Tags" in ColdFusion MX Developer's Guide.
</p>
    </td>
  </tr>
  <tr>
    <td valign="top" colspan="2" class="CLEARSEPARATION">&nbsp;</td>
  </tr>
  <tr>
    <td valign="top" colspan="2" class="description"><span class="title">Validation</span>
<p>
The following sections describe how to do validation in cfinput tags.
</p>

<p>
<b>Validation methods&#160;</b>ColdFusion provides four methods of validation of cfinput text and password fields. 
</p>

<p>
You can specify one or a combination of the following in the validateAt attribute:
</p>
<ul>

<li>onSubmit&#160;The form page on the browser includes JavaScript functions that perform validation before the form is submitted to the server. In Flash format forms, this option is identical to onBlur.</li>

<li>onBlur&#160;In HTML format the form page on the browser includes JavaScript functions that perform validation when the field loses the focus. In Flash format, the attribute is equivalent to onSubmit. OnBlur validation uses the same algorithms as onSubmit validation. OnBlur validation was added in ColdFusion&#160;MX&#160;7. </li>

<li>onServer&#160;ColdFusion performs the validation on the server. Some onServer algorithms vary from the onSubmit algorithms. OnServer Date and Time validation allow more patterns than onSubmit validation. OnServer validation was added in ColdFusion&#160;MX&#160;7, and automatically generates hidden fields to support the validation.</li>
</ul>

<p>
You can also omit a validate attribute and specify the type of validation for the field in a separate hidden form field. This form of validation is equivalent to onServer validation, but it allows you to specify separate messages for each validation that you do on the field. It is backward compatible with previous ColdFusion releases. For more information on hidden form field validation, see cfform and "Validating form data using hidden fields" in Chapter&#160;28, "Validating form data using hidden fields," in ColdFusion MX Developer's Guide.
</p>

<p>
<b>validation types</b> You can use the following values in the validate attribute to specify input validation for all validation methods. Most attributes apply only to password or text fields. You can specify multiple validation types in a comma-delimited list, but only some combinations are meaningful.
</p>

<p>

</p>

<p>
<b>Validation differences</b> The preceding table describes the general validation behavior. The underlying validation code must differ depending on the validation method and the form type. As a result, the algorithms used vary in some instances, including the following:
</p>
<ul>

<li>The validation algorithms used for date/time values varies between onSubmit/OnBlur and OnServer. </li>

<li>The algorithms used for onSubmit/OnBlur validation in Flash vary from those used for HTML/XML format, and generally follow simpler rules.</li>
</ul>

<p>
The table describes the onSubmit/OnBlur behavior in HTML format. For detailed information on the OnServer validation algorithms, see "Data validation types" in Chapter&#160;28, "Data validation types," in ColdFusion MX Developer's Guide. 
</p>

<p>
For more information on validation, including discussions of the advantages and disadvantages of different validation types, see Chapter&#160;28, "Validating Data" in ColdFusion MX Developer's Guide.
</p>
    </td>
  </tr>
  <tr>
    <td valign="top" colspan="2" class="CLEARSEPARATION">&nbsp;</td>
  </tr>
  <tr>
    <td valign="top" colspan="2" class="description"><span class="title">Masking input data</span>
<p>
The mask attribute controls the format of data that can be entered into a field. You can combine masking and validation on a field.
</p>
<ul>

<li>In HTML and Flash form format the mask can control the format of data entered into a text field.</li>

<li>In Flash format, the mask can also control the format of the date chosen using the datefield input control.</li>
</ul>

<p>
In text fields, ColdFusion automatically inserts any literal mask characters, such as - characters in telephone numbers. Users type only the variable part of the field.
</p>

<p>
The following pattern enforces entry of a part number of the format EB-1234-c1-098765, where the user starts the entry by typing the first numeric character, such as 3. ColdFusion fills in the preceding EA prefix and all - characters. The user must enters four numbers, followed by two alphanumeric characters, followed by six numbers. 
</p>
<pre>&lt;cfinput type=&quot;text&quot; name=&quot;newPart&quot; mask=&quot;EB-9999-XX-999999&quot; /&gt;
</pre><table>
  <tr valign="top">
    <td width="30"><strong>Note: </strong></td>
    <td>To force a pattern to be all-uppercase or all-lowercase, use the ColdFusion UCase or LCase functions in the action page.</td>
  </tr>
</table>
<p>
For tags with type=&quot;datefield&quot; (and cfcalendar tags), the number of pattern characters determines the format of the output, as follows:
</p>

<p>
</p><div align="left">
<table border="1">
  <caption></caption>
  <tr align="center">    <th>&#160;</th>
    <th>&#160;</th>
</tr>
  <tr align="left">    <td>
<p>D</p></td>
    <td>
<p>Single- or double-digit day of month, such as 1 or 28</p></td>
</tr>
  <tr align="left">    <td>
<p>DD</p></td>
    <td>
<p>Double-digit day of month, such as 01 or 28</p></td>
</tr>
  <tr align="left">    <td>
<p>M</p></td>
    <td>
<p>Single- or double-digit month, such as 1 or 12</p></td>
</tr>
  <tr align="left">    <td>
<p>MM</p></td>
    <td>
<p>Double-digit month, such as 01 or 12</p></td>
</tr>
  <tr align="left">    <td>
<p>MMM</p></td>
    <td>
<p>Abbreviated month name, such as Jan or Dec</p></td>
</tr>
  <tr align="left">    <td>
<p>MMMM</p></td>
    <td>
<p>Full month name, such as January or December</p></td>
</tr>
  <tr align="left">    <td>
<p>YY</p></td>
    <td>
<p>Two-character year, such as 05</p></td>
</tr>
  <tr align="left">    <td>
<p>YYYY</p></td>
    <td>
<p>Four-character year, such as 2005</p></td>
</tr>
  <tr align="left">    <td>
<p>E</p></td>
    <td>
<p>Single-digit day of week, such as 1 or 7</p></td>
</tr>
  <tr align="left">    <td>
<p>EEE</p></td>
    <td>
<p>Abbreviated day of week name, such as Mon or Sun</p></td>
</tr>
  <tr align="left">    <td>
<p>EEEE</p></td>
    <td>
<p>Full month day of week name, such as Monday or Sunday</p></td>
</tr>
</table>
</div>
<p>
</p>

<p>
The following pattern specifies that the Flash forms sends the date selected using a datefield input control to ColdFusion as text in the format 04/29/2004:
</p>
<pre>&lt;cfinput name=&quot;startDate&quot; type=&quot;datefield&quot; label=&quot;date:&quot; mask=&quot;mm/dd/yyyy&quot;/&gt;
</pre>    </td>
  </tr>
  <tr>
    <td valign="top" colspan="2" class="CLEARSEPARATION">&nbsp;</td>
  </tr>
  <tr>
    <td valign="top" colspan="2" class="description"><span class="title">Flash form data binding</span>
<p>
The bind attribute lets you populate form fields using the contents of other form fields. To specify text from another field in a cftextarea bind attribute, use the following format:
</p>

<p>
{sourceTagName.text}
</p>

<p>
For example, the following line uses the values from the firstName and lastName fields to construct an email address. (The user can change or replace this value with a typed entry.)
</p>
<pre>         &lt;cfinput type=&quot;text&quot; name=&quot;email&quot; label=&quot;email&quot;
            bind=&quot;{firstName.text}.{lastName.text}@mm.com&quot;&gt;
</pre>    </td>
  </tr>
  <tr>
    <td valign="top" colspan="2" class="CLEARSEPARATION">&nbsp;</td>
  </tr>
  <tr>
    <td valign="top" colspan="2" class="description"><span class="title">Example</span><pre>&lt;!--- This example shows the use of cfinput within a cfform to ensure simple
validation of text items. ---&gt;
&lt;cfform action = &quot;cfinput.cfm&quot;&gt;
&lt;!--- Phone number validation. ---&gt;
Phone Number Validation (enter a properly formatted phone number): &lt;br&gt;
&lt;cfinput 
   type = &quot;Text&quot; name = &quot;MyPhone&quot; 
   message = &quot;Enter telephone number, formatted xxx-xxx-xxxx (e.g. 617-761-
2000)&quot;
   validate = &quot;telephone&quot; required = &quot;yes&quot;&gt;
   &lt;font size = -1 color = red&gt;Required&lt;/font&gt;
&lt;!--- Zip code validation. ---&gt;
&lt;p&gt;Zip Code Validation (enter a properly formatted zip code):&lt;br&gt;
&lt;cfinput 
   type = &quot;Text&quot; name = &quot;MyZip&quot; 
   message = &quot;Enter zip code, formatted xxxxx or xxxxx-xxxx&quot; 
   validate = &quot;zipcode&quot; required = &quot;yes&quot;&gt;
   &lt;font size = -1 color = red&gt;Required&lt;/font&gt;
&lt;!--- Range validation. ---&gt;
&lt;p&gt;Range Validation (enter an integer from 1 to 5): &lt;br&gt;
&lt;cfinput 
   type = &quot;Text&quot; name = &quot;MyRange&quot; range = &quot;1,5&quot; 
   message = &quot;You must enter an integer from 1 to 5&quot; 
   validate = &quot;integer&quot; required = &quot;no&quot;&gt;
&lt;!--- Date validation. ---&gt;
&lt;p&gt;Date Validation (enter a properly formatted date):&lt;br&gt;
&lt;cfinput 
   type = &quot;Text&quot; name = &quot;MyDate&quot; 
   message = &quot;Enter a correctly formatted date (dd/mm/yy)&quot; 
   validate = &quot;date&quot; required = &quot;no&quot;&gt;
&lt;input 
   type = &quot;Submit&quot; name = &quot;&quot; 
   value = &quot;send my information&quot;&gt;
&lt;/cfform&gt;
</pre>
         </td>
      </tr>
   </table>
   </div>
<div id="NAME">
<table border="0" cellspacing="0" cellpadding="0" width="100%">
<tr>  
<td valign="top" class="name">NAME</td>
  <td valign="top" nowrap class="compatibility">&nbsp;</td>
  </tr>
  <tr>
  <td colspan="2" class="divider"><img src="dwres:18084" width="100%" height="1"></td>
  </tr>

  <tr>
  <td valign="top" class="syntax">&nbsp;</td>
  <td valign="top" nowrap class="requirements">Required;</td>
  </tr>
  <tr>
  <td colspan="2" class="clearseparation">&nbsp;</td>
  </tr>
  <tr>
  <td valign="top" colspan="2" class="description">
  <tr>
  <td valign="top" class="syntax">&nbsp;</td>
  <td valign="top" nowrap class="requirements">All</td>
  </tr>
  <tr>
  <td colspan="2" class="clearseparation">&nbsp;</td>
  </tr>
  <tr>
  <td valign="top" colspan="2" class="description">



<p>Name for form input element.</p>

  </td>
  </tr>
  </table>
</div>
<div id="TYPE">
<table border="0" cellspacing="0" cellpadding="0" width="100%">
<tr>  
<td valign="top" class="name">TYPE</td>
  <td valign="top" nowrap class="compatibility">&nbsp;</td>
  </tr>
  <tr>
  <td colspan="2" class="divider"><img src="dwres:18084" width="100%" height="1"></td>
  </tr>

  <tr>
  <td valign="top" class="syntax">&nbsp;</td>
  <td valign="top" nowrap class="requirements">Optional;</td>
  </tr>
  <tr>
  <td colspan="2" class="clearseparation">&nbsp;</td>
  </tr>
  <tr>
  <td valign="top" colspan="2" class="description">
  <tr>
  <td valign="top" class="syntax">&nbsp;</td>
  <td valign="top" nowrap class="requirements">All</td>
  </tr>
  <tr>
  <td colspan="2" class="clearseparation">&nbsp;</td>
  </tr>
  <tr>
  <td valign="top" colspan="2" class="description">

<strong>Default value:</strong> "text"


<p>The input control type to create: </p><ul>

<li>button: push button.</li>

<li>checkbox: check box.</li>

<li>file: file selector; not supported in Flash.</li>

<li>hidden: invisible control.</li>

<li>image: clickable button with an image.</li>

<li>password: password entry control; hides input values.</li>

<li>radio: radio button.</li>

<li>reset: form reset button.</li>

<li>submit: form submission button.</li>

<li>text: text entry box.</li>

<li>datefield: Flash only; date entry field with an expanding calendar for selecting dates.</li>
</ul>


  </td>
  </tr>
  </table>
</div>
<div id="LABEL">
<table border="0" cellspacing="0" cellpadding="0" width="100%">
<tr>  
<td valign="top" class="name">LABEL</td>
  <td valign="top" nowrap class="compatibility">&nbsp;</td>
  </tr>
  <tr>
  <td colspan="2" class="divider"><img src="dwres:18084" width="100%" height="1"></td>
  </tr>

  <tr>
  <td valign="top" class="syntax">&nbsp;</td>
  <td valign="top" nowrap class="requirements">Optional;</td>
  </tr>
  <tr>
  <td colspan="2" class="clearseparation">&nbsp;</td>
  </tr>
  <tr>
  <td valign="top" colspan="2" class="description">
  <tr>
  <td valign="top" class="syntax">&nbsp;</td>
  <td valign="top" nowrap class="requirements">Flash and XML</td>
  </tr>
  <tr>
  <td colspan="2" class="clearseparation">&nbsp;</td>
  </tr>
  <tr>
  <td valign="top" colspan="2" class="description">



<p>Label to put next to the control on a Flash form. Not used for button, hidden, image, reset, or submit types. </p>

  </td>
  </tr>
  </table>
</div>
<div id="STYLE">
<table border="0" cellspacing="0" cellpadding="0" width="100%">
<tr>  
<td valign="top" class="name">STYLE</td>
  <td valign="top" nowrap class="compatibility">&nbsp;</td>
  </tr>
  <tr>
  <td colspan="2" class="divider"><img src="dwres:18084" width="100%" height="1"></td>
  </tr>

  <tr>
  <td valign="top" class="syntax">&nbsp;</td>
  <td valign="top" nowrap class="requirements">Optional;</td>
  </tr>
  <tr>
  <td colspan="2" class="clearseparation">&nbsp;</td>
  </tr>
  <tr>
  <td valign="top" colspan="2" class="description">
  <tr>
  <td valign="top" class="syntax">&nbsp;</td>
  <td valign="top" nowrap class="requirements">All</td>
  </tr>
  <tr>
  <td colspan="2" class="clearseparation">&nbsp;</td>
  </tr>
  <tr>
  <td valign="top" colspan="2" class="description">


<strong>Default value:</strong> "In Flash format, must be a style specification in CSS format. For detailed information on specifying Flash styles, see Chapter&#160;29, "Creating Forms in Macromedia Flash" in ColdFusion MX Developer's Guide."

<p>In HTML or XML format, ColdFusion passes the style attribute to the browser or XML.</p>
<p>In XML format, ColdFusion passes the style attribute to the XML. </p>

  </td>
  </tr>
  </table>
</div>
<div id="REQUIRED">
<table border="0" cellspacing="0" cellpadding="0" width="100%">
<tr>  
<td valign="top" class="name">REQUIRED</td>
  <td valign="top" nowrap class="compatibility">&nbsp;</td>
  </tr>
  <tr>
  <td colspan="2" class="divider"><img src="dwres:18084" width="100%" height="1"></td>
  </tr>

  <tr>
  <td valign="top" class="syntax">&nbsp;</td>
  <td valign="top" nowrap class="requirements">Optional;</td>
  </tr>
  <tr>
  <td colspan="2" class="clearseparation">&nbsp;</td>
  </tr>
  <tr>
  <td valign="top" colspan="2" class="description">
  <tr>
  <td valign="top" class="syntax">&nbsp;</td>
  <td valign="top" nowrap class="requirements">All</td>
  </tr>
  <tr>
  <td colspan="2" class="clearseparation">&nbsp;</td>
  </tr>
  <tr>
  <td valign="top" colspan="2" class="description">

<strong>Default value:</strong> "no"

<ul>

<li>yes: the field must contain data.</li>

<li>no: allows an empty field.</li>
</ul>


  </td>
  </tr>
  </table>
</div>
<div id="MASK">
<table border="0" cellspacing="0" cellpadding="0" width="100%">
<tr>  
<td valign="top" class="name">MASK</td>
  <td valign="top" nowrap class="compatibility">&nbsp;</td>
  </tr>
  <tr>
  <td colspan="2" class="divider"><img src="dwres:18084" width="100%" height="1"></td>
  </tr>

  <tr>
  <td valign="top" class="syntax">&nbsp;</td>
  <td valign="top" nowrap class="requirements">Optional;</td>
  </tr>
  <tr>
  <td colspan="2" class="clearseparation">&nbsp;</td>
  </tr>
  <tr>
  <td valign="top" colspan="2" class="description">
  <tr>
  <td valign="top" class="syntax">&nbsp;</td>
  <td valign="top" nowrap class="requirements">Flash and HTML</td>
  </tr>
  <tr>
  <td colspan="2" class="clearseparation">&nbsp;</td>
  </tr>
  <tr>
  <td valign="top" colspan="2" class="description">



<p>A mask pattern that controls the character pattern that users can enter, or that the form sends to ColdFusion.</p>
<p>HTML and Flash: For tags with type=&quot;text&quot;. Mask characters and the corresponding valid input characters are:</p><ul>

<li>A = [A-Za-z]</li>

<li>X = [A-Za-z0-9]</li>

<li>9 = [0-9]</li>

<li>? = Any character</li>

<li>All other characters = insert the literal character</li>
</ul>

<p>Flash only: For tags with type=&quot;datefield&quot;. ColdFusion uses the mask pattern to format the selected date. Mask characters are:</p><ul>

<li>D = day; can use 0-2 mask characters.</li>

<li>M = month; can use 0-4 mask characters.</li>

<li>Y = year; can use 0, 2, or 4 characters.</li>

<li>E = day in week; can use 0-4 characters.</li>
</ul>

<p>For more information, see "Masking input data" in Usage.</p>

  </td>
  </tr>
  </table>
</div>
<div id="VALIDATE">
<table border="0" cellspacing="0" cellpadding="0" width="100%">
<tr>  
<td valign="top" class="name">VALIDATE</td>
  <td valign="top" nowrap class="compatibility">&nbsp;</td>
  </tr>
  <tr>
  <td colspan="2" class="divider"><img src="dwres:18084" width="100%" height="1"></td>
  </tr>

  <tr>
  <td valign="top" class="syntax">&nbsp;</td>
  <td valign="top" nowrap class="requirements">Optional;</td>
  </tr>
  <tr>
  <td colspan="2" class="clearseparation">&nbsp;</td>
  </tr>
  <tr>
  <td valign="top" colspan="2" class="description">
  <tr>
  <td valign="top" class="syntax">&nbsp;</td>
  <td valign="top" nowrap class="requirements">All</td>
  </tr>
  <tr>
  <td colspan="2" class="clearseparation">&nbsp;</td>
  </tr>
  <tr>
  <td valign="top" colspan="2" class="description">



<p>The type or types of validation to do. Available validation types and algorithms depend on the format. For details, see Usage.</p>

  </td>
  </tr>
  </table>
</div>
<div id="VALIDATEAT">
<table border="0" cellspacing="0" cellpadding="0" width="100%">
<tr>  
<td valign="top" class="name">VALIDATEAT</td>
  <td valign="top" nowrap class="compatibility">&nbsp;</td>
  </tr>
  <tr>
  <td colspan="2" class="divider"><img src="dwres:18084" width="100%" height="1"></td>
  </tr>

  <tr>
  <td valign="top" class="syntax">&nbsp;</td>
  <td valign="top" nowrap class="requirements">Optional;</td>
  </tr>
  <tr>
  <td colspan="2" class="clearseparation">&nbsp;</td>
  </tr>
  <tr>
  <td valign="top" colspan="2" class="description">
  <tr>
  <td valign="top" class="syntax">&nbsp;</td>
  <td valign="top" nowrap class="requirements">All</td>
  </tr>
  <tr>
  <td colspan="2" class="clearseparation">&nbsp;</td>
  </tr>
  <tr>
  <td valign="top" colspan="2" class="description">

<strong>Default value:</strong> "onSubmit"


<p>How to do the validation; one or more of the following:</p><ul>

<li>onSubmit</li>

<li>onServer</li>

<li>onBlur</li>
</ul>

<p>onBlur and onSubmit are identical in Flash forms. For multiple values, use a comma-delimited list. </p>
<p>For details, see Usage.</p>

  </td>
  </tr>
  </table>
</div>
<div id="MESSAGE">
<table border="0" cellspacing="0" cellpadding="0" width="100%">
<tr>  
<td valign="top" class="name">MESSAGE</td>
  <td valign="top" nowrap class="compatibility">&nbsp;</td>
  </tr>
  <tr>
  <td colspan="2" class="divider"><img src="dwres:18084" width="100%" height="1"></td>
  </tr>

  <tr>
  <td valign="top" class="syntax">&nbsp;</td>
  <td valign="top" nowrap class="requirements">Optional;</td>
  </tr>
  <tr>
  <td colspan="2" class="clearseparation">&nbsp;</td>
  </tr>
  <tr>
  <td valign="top" colspan="2" class="description">
  <tr>
  <td valign="top" class="syntax">&nbsp;</td>
  <td valign="top" nowrap class="requirements">All</td>
  </tr>
  <tr>
  <td colspan="2" class="clearseparation">&nbsp;</td>
  </tr>
  <tr>
  <td valign="top" colspan="2" class="description">



<p>Message text to display if validation fails.</p>

  </td>
  </tr>
  </table>
</div>
<div id="RANGE">
<table border="0" cellspacing="0" cellpadding="0" width="100%">
<tr>  
<td valign="top" class="name">RANGE</td>
  <td valign="top" nowrap class="compatibility">&nbsp;</td>
  </tr>
  <tr>
  <td colspan="2" class="divider"><img src="dwres:18084" width="100%" height="1"></td>
  </tr>

  <tr>
  <td valign="top" class="syntax">&nbsp;</td>
  <td valign="top" nowrap class="requirements">Optional;</td>
  </tr>
  <tr>
  <td colspan="2" class="clearseparation">&nbsp;</td>
  </tr>
  <tr>
  <td valign="top" colspan="2" class="description">
  <tr>
  <td valign="top" class="syntax">&nbsp;</td>
  <td valign="top" nowrap class="requirements">All</td>
  </tr>
  <tr>
  <td colspan="2" class="clearseparation">&nbsp;</td>
  </tr>
  <tr>
  <td valign="top" colspan="2" class="description">



<p>Minimum and maximum allowed numeric values. ColdFusion uses this attribute only if you specify range in the validate attribute. </p>
<p>If you specify a single number or a single number followed by a comma, it is treated as a minimum, with no maximum. If you specify a comma followed by a number, the maximum is set to the specified number, with no minimum.</p>

  </td>
  </tr>
  </table>
</div>
<div id="MAXLENGTH">
<table border="0" cellspacing="0" cellpadding="0" width="100%">
<tr>  
<td valign="top" class="name">MAXLENGTH</td>
  <td valign="top" nowrap class="compatibility">&nbsp;</td>
  </tr>
  <tr>
  <td colspan="2" class="divider"><img src="dwres:18084" width="100%" height="1"></td>
  </tr>

  <tr>
  <td valign="top" class="syntax">&nbsp;</td>
  <td valign="top" nowrap class="requirements">Optional;</td>
  </tr>
  <tr>
  <td colspan="2" class="clearseparation">&nbsp;</td>
  </tr>
  <tr>
  <td valign="top" colspan="2" class="description">
  <tr>
  <td valign="top" class="syntax">&nbsp;</td>
  <td valign="top" nowrap class="requirements">All</td>
  </tr>
  <tr>
  <td colspan="2" class="clearseparation">&nbsp;</td>
  </tr>
  <tr>
  <td valign="top" colspan="2" class="description">



<p>Maximum length of text entered, if type = &quot;Text&quot; or &quot;password&quot;. For complete length validation, specify maxLength validation in a validate attribute; otherwise, this attribute prevents users from typing beyond the specified length, but does not prevent them from pasting in a longer value.</p>

  </td>
  </tr>
  </table>
</div>
<div id="PATTERN">
<table border="0" cellspacing="0" cellpadding="0" width="100%">
<tr>  
<td valign="top" class="name">PATTERN</td>
  <td valign="top" nowrap class="compatibility">&nbsp;</td>
  </tr>
  <tr>
  <td colspan="2" class="divider"><img src="dwres:18084" width="100%" height="1"></td>
  </tr>

  <tr>
  <td valign="top" class="syntax">&nbsp;</td>
  <td valign="top" nowrap class="requirements">Required if validate = &quot;regex&quot;;</td>
  </tr>
  <tr>
  <td colspan="2" class="clearseparation">&nbsp;</td>
  </tr>
  <tr>
  <td valign="top" colspan="2" class="description">
  <tr>
  <td valign="top" class="syntax">&nbsp;</td>
  <td valign="top" nowrap class="requirements">HTML and XML format only</td>
  </tr>
  <tr>
  <td colspan="2" class="clearseparation">&nbsp;</td>
  </tr>
  <tr>
  <td valign="top" colspan="2" class="description">



<p>JavaScript regular expression pattern to validate input. ColdFusion uses this attribute only if you specify regex in the validate attribute.</p>
<p>Omit leading and trailing slashes. For examples and syntax, see Chapter&#160;27, "Building Dynamic Forms with cfform Tags" in ColdFusion MX Developer's Guide.</p>

  </td>
  </tr>
  </table>
</div>
<div id="ONVALIDATE">
<table border="0" cellspacing="0" cellpadding="0" width="100%">
<tr>  
<td valign="top" class="name">ONVALIDATE</td>
  <td valign="top" nowrap class="compatibility">&nbsp;</td>
  </tr>
  <tr>
  <td colspan="2" class="divider"><img src="dwres:18084" width="100%" height="1"></td>
  </tr>

  <tr>
  <td valign="top" class="syntax">&nbsp;</td>
  <td valign="top" nowrap class="requirements">Optional;</td>
  </tr>
  <tr>
  <td colspan="2" class="clearseparation">&nbsp;</td>
  </tr>
  <tr>
  <td valign="top" colspan="2" class="description">
  <tr>
  <td valign="top" class="syntax">&nbsp;</td>
  <td valign="top" nowrap class="requirements">HTML and XML only</td>
  </tr>
  <tr>
  <td colspan="2" class="clearseparation">&nbsp;</td>
  </tr>
  <tr>
  <td valign="top" colspan="2" class="description">



<p>Custom JavaScript function to validate user input. The form object, input object, and input object values are passed to the routine, which should return True if validation succeeds, and False otherwise. If used, the validate attribute is ignored.</p>

  </td>
  </tr>
  </table>
</div>
<div id="ONERROR">
<table border="0" cellspacing="0" cellpadding="0" width="100%">
<tr>  
<td valign="top" class="name">ONERROR</td>
  <td valign="top" nowrap class="compatibility">&nbsp;</td>
  </tr>
  <tr>
  <td colspan="2" class="divider"><img src="dwres:18084" width="100%" height="1"></td>
  </tr>

  <tr>
  <td valign="top" class="syntax">&nbsp;</td>
  <td valign="top" nowrap class="requirements">Optional;</td>
  </tr>
  <tr>
  <td colspan="2" class="clearseparation">&nbsp;</td>
  </tr>
  <tr>
  <td valign="top" colspan="2" class="description">
  <tr>
  <td valign="top" class="syntax">&nbsp;</td>
  <td valign="top" nowrap class="requirements">HTML and XML only</td>
  </tr>
  <tr>
  <td colspan="2" class="clearseparation">&nbsp;</td>
  </tr>
  <tr>
  <td valign="top" colspan="2" class="description">



<p>Custom JavaScript function to execute if validation fails.</p>

  </td>
  </tr>
  </table>
</div>
<div id="SIZE">
<table border="0" cellspacing="0" cellpadding="0" width="100%">
<tr>  
<td valign="top" class="name">SIZE</td>
  <td valign="top" nowrap class="compatibility">&nbsp;</td>
  </tr>
  <tr>
  <td colspan="2" class="divider"><img src="dwres:18084" width="100%" height="1"></td>
  </tr>

  <tr>
  <td valign="top" class="syntax">&nbsp;</td>
  <td valign="top" nowrap class="requirements">Optional;</td>
  </tr>
  <tr>
  <td colspan="2" class="clearseparation">&nbsp;</td>
  </tr>
  <tr>
  <td valign="top" colspan="2" class="description">
  <tr>
  <td valign="top" class="syntax">&nbsp;</td>
  <td valign="top" nowrap class="requirements">All</td>
  </tr>
  <tr>
  <td colspan="2" class="clearseparation">&nbsp;</td>
  </tr>
  <tr>
  <td valign="top" colspan="2" class="description">



<p>Size of input control. Ignored, if type = &quot;radio&quot; or &quot;checkbox&quot;. If specified in a Flash form, ColdFusion sets the control width pixel value to 10 times the specified size and ignores the width attribute</p>

  </td>
  </tr>
  </table>
</div>
<div id="VALUE">
<table border="0" cellspacing="0" cellpadding="0" width="100%">
<tr>  
<td valign="top" class="name">VALUE</td>
  <td valign="top" nowrap class="compatibility">&nbsp;</td>
  </tr>
  <tr>
  <td colspan="2" class="divider"><img src="dwres:18084" width="100%" height="1"></td>
  </tr>

  <tr>
  <td valign="top" class="syntax">&nbsp;</td>
  <td valign="top" nowrap class="requirements">depends on type setting;</td>
  </tr>
  <tr>
  <td colspan="2" class="clearseparation">&nbsp;</td>
  </tr>
  <tr>
  <td valign="top" colspan="2" class="description">
  <tr>
  <td valign="top" class="syntax">&nbsp;</td>
  <td valign="top" nowrap class="requirements">All </td>
  </tr>
  <tr>
  <td colspan="2" class="clearseparation">&nbsp;</td>
  </tr>
  <tr>
  <td valign="top" colspan="2" class="description">



<p>HTML: corresponds to the HTML value attribute. Its use depends on control type.</p>
<p>Flash: optional; specifies text for button type inputs: button, submit, and image. </p>

  </td>
  </tr>
  </table>
</div>
<div id="BIND">
<table border="0" cellspacing="0" cellpadding="0" width="100%">
<tr>  
<td valign="top" class="name">BIND</td>
  <td valign="top" nowrap class="compatibility">&nbsp;</td>
  </tr>
  <tr>
  <td colspan="2" class="divider"><img src="dwres:18084" width="100%" height="1"></td>
  </tr>

  <tr>
  <td valign="top" class="syntax">&nbsp;</td>
  <td valign="top" nowrap class="requirements">Optional; Flash only</td>
  </tr>
  <tr>
  <td colspan="2" class="clearseparation">&nbsp;</td>
  </tr>
  <tr>
  <td valign="top" colspan="2" class="description">



<p>A Flash bind expression that populates the field with information from other form fields. For details, see Usage.</p>

  </td>
  </tr>
  </table>
</div>
<div id="CHECKED">
<table border="0" cellspacing="0" cellpadding="0" width="100%">
<tr>  
<td valign="top" class="name">CHECKED</td>
  <td valign="top" nowrap class="compatibility">&nbsp;</td>
  </tr>
  <tr>
  <td colspan="2" class="divider"><img src="dwres:18084" width="100%" height="1"></td>
  </tr>

  <tr>
  <td valign="top" class="syntax">&nbsp;</td>
  <td valign="top" nowrap class="requirements">Optional;</td>
  </tr>
  <tr>
  <td colspan="2" class="clearseparation">&nbsp;</td>
  </tr>
  <tr>
  <td valign="top" colspan="2" class="description">
  <tr>
  <td valign="top" class="syntax">&nbsp;</td>
  <td valign="top" nowrap class="requirements">All</td>
  </tr>
  <tr>
  <td colspan="2" class="clearseparation">&nbsp;</td>
  </tr>
  <tr>
  <td valign="top" colspan="2" class="description">

<strong>Default value:</strong> "False"


<p>Selects a radio or checkbox control: </p><ul>

<li>True </li>

<li>False</li>
</ul>


  </td>
  </tr>
  </table>
</div>
<div id="DISABLED">
<table border="0" cellspacing="0" cellpadding="0" width="100%">
<tr>  
<td valign="top" class="name">DISABLED</td>
  <td valign="top" nowrap class="compatibility">&nbsp;</td>
  </tr>
  <tr>
  <td colspan="2" class="divider"><img src="dwres:18084" width="100%" height="1"></td>
  </tr>

  <tr>
  <td valign="top" class="syntax">&nbsp;</td>
  <td valign="top" nowrap class="requirements">Optional;</td>
  </tr>
  <tr>
  <td colspan="2" class="clearseparation">&nbsp;</td>
  </tr>
  <tr>
  <td valign="top" colspan="2" class="description">
  <tr>
  <td valign="top" class="syntax">&nbsp;</td>
  <td valign="top" nowrap class="requirements">All</td>
  </tr>
  <tr>
  <td colspan="2" class="clearseparation">&nbsp;</td>
  </tr>
  <tr>
  <td valign="top" colspan="2" class="description">

<strong>Default value:</strong> "not disabled"


<p>Disables user input, making the control read-only. To disable input, specify disabled without an attribute or disabled=&quot;Yes&quot; (or any ColdFusion positive Boolean value, such as True). To enable input, omit the attribute or specify disabled=&quot;No&quot; (or any ColdFusion negative Boolean value, such as False).</p>

  </td>
  </tr>
  </table>
</div>
<div id="SRC">
<table border="0" cellspacing="0" cellpadding="0" width="100%">
<tr>  
<td valign="top" class="name">SRC</td>
  <td valign="top" nowrap class="compatibility">&nbsp;</td>
  </tr>
  <tr>
  <td colspan="2" class="divider"><img src="dwres:18084" width="100%" height="1"></td>
  </tr>

  <tr>
  <td valign="top" class="syntax">&nbsp;</td>
  <td valign="top" nowrap class="requirements">Optional;</td>
  </tr>
  <tr>
  <td colspan="2" class="clearseparation">&nbsp;</td>
  </tr>
  <tr>
  <td valign="top" colspan="2" class="description">
  <tr>
  <td valign="top" class="syntax">&nbsp;</td>
  <td valign="top" nowrap class="requirements">Flash and HTML</td>
  </tr>
  <tr>
  <td colspan="2" class="clearseparation">&nbsp;</td>
  </tr>
  <tr>
  <td valign="top" colspan="2" class="description">


<strong>Default value:</strong> "Applies to Flash button, reset, submit, and image types, and the HTML image type. URL of an image to use on the button. Flash does not support GIF images."


  </td>
  </tr>
  </table>
</div>
<div id="ONKEYUP">
<table border="0" cellspacing="0" cellpadding="0" width="100%">
<tr>  
<td valign="top" class="name">ONKEYUP</td>
  <td valign="top" nowrap class="compatibility">&nbsp;</td>
  </tr>
  <tr>
  <td colspan="2" class="divider"><img src="dwres:18084" width="100%" height="1"></td>
  </tr>

  <tr>
  <td valign="top" class="syntax">&nbsp;</td>
  <td valign="top" nowrap class="requirements">Optional;</td>
  </tr>
  <tr>
  <td colspan="2" class="clearseparation">&nbsp;</td>
  </tr>
  <tr>
  <td valign="top" colspan="2" class="description">
  <tr>
  <td valign="top" class="syntax">&nbsp;</td>
  <td valign="top" nowrap class="requirements">All</td>
  </tr>
  <tr>
  <td colspan="2" class="clearseparation">&nbsp;</td>
  </tr>
  <tr>
  <td valign="top" colspan="2" class="description">


<strong>Default value:</strong> "JavaScript (HTML/XML) or ActionScript (Flash) to run when the user releases a keyboard key in the control."


  </td>
  </tr>
  </table>
</div>
<div id="ONKEYDOWN">
<table border="0" cellspacing="0" cellpadding="0" width="100%">
<tr>  
<td valign="top" class="name">ONKEYDOWN</td>
  <td valign="top" nowrap class="compatibility">&nbsp;</td>
  </tr>
  <tr>
  <td colspan="2" class="divider"><img src="dwres:18084" width="100%" height="1"></td>
  </tr>

  <tr>
  <td valign="top" class="syntax">&nbsp;</td>
  <td valign="top" nowrap class="requirements">Optional;</td>
  </tr>
  <tr>
  <td colspan="2" class="clearseparation">&nbsp;</td>
  </tr>
  <tr>
  <td valign="top" colspan="2" class="description">
  <tr>
  <td valign="top" class="syntax">&nbsp;</td>
  <td valign="top" nowrap class="requirements">All</td>
  </tr>
  <tr>
  <td colspan="2" class="clearseparation">&nbsp;</td>
  </tr>
  <tr>
  <td valign="top" colspan="2" class="description">


<strong>Default value:</strong> "JavaScript (HTML/XML) or ActionScript (Flash) ActionScript to run when the user presses a keyboard key in the control."


  </td>
  </tr>
  </table>
</div>
<div id="ONMOUSEUP">
<table border="0" cellspacing="0" cellpadding="0" width="100%">
<tr>  
<td valign="top" class="name">ONMOUSEUP</td>
  <td valign="top" nowrap class="compatibility">&nbsp;</td>
  </tr>
  <tr>
  <td colspan="2" class="divider"><img src="dwres:18084" width="100%" height="1"></td>
  </tr>

  <tr>
  <td valign="top" class="syntax">&nbsp;</td>
  <td valign="top" nowrap class="requirements">Optional;</td>
  </tr>
  <tr>
  <td colspan="2" class="clearseparation">&nbsp;</td>
  </tr>
  <tr>
  <td valign="top" colspan="2" class="description">
  <tr>
  <td valign="top" class="syntax">&nbsp;</td>
  <td valign="top" nowrap class="requirements">All</td>
  </tr>
  <tr>
  <td colspan="2" class="clearseparation">&nbsp;</td>
  </tr>
  <tr>
  <td valign="top" colspan="2" class="description">


<strong>Default value:</strong> "JavaScript (HTML/XML) or ActionScript (Flash) to run when the user presses a mouse button in the control."


  </td>
  </tr>
  </table>
</div>
<div id="ONMOUSEDOWN">
<table border="0" cellspacing="0" cellpadding="0" width="100%">
<tr>  
<td valign="top" class="name">ONMOUSEDOWN</td>
  <td valign="top" nowrap class="compatibility">&nbsp;</td>
  </tr>
  <tr>
  <td colspan="2" class="divider"><img src="dwres:18084" width="100%" height="1"></td>
  </tr>

  <tr>
  <td valign="top" class="syntax">&nbsp;</td>
  <td valign="top" nowrap class="requirements">Optional;</td>
  </tr>
  <tr>
  <td colspan="2" class="clearseparation">&nbsp;</td>
  </tr>
  <tr>
  <td valign="top" colspan="2" class="description">
  <tr>
  <td valign="top" class="syntax">&nbsp;</td>
  <td valign="top" nowrap class="requirements">All</td>
  </tr>
  <tr>
  <td colspan="2" class="clearseparation">&nbsp;</td>
  </tr>
  <tr>
  <td valign="top" colspan="2" class="description">


<strong>Default value:</strong> "JavaScript (HTML/XML) or ActionScript (Flash) to run when the user releases a mouse button in the control."


  </td>
  </tr>
  </table>
</div>
<div id="ONCHANGE">
<table border="0" cellspacing="0" cellpadding="0" width="100%">
<tr>  
<td valign="top" class="name">ONCHANGE</td>
  <td valign="top" nowrap class="compatibility">&nbsp;</td>
  </tr>
  <tr>
  <td colspan="2" class="divider"><img src="dwres:18084" width="100%" height="1"></td>
  </tr>

  <tr>
  <td valign="top" class="syntax">&nbsp;</td>
  <td valign="top" nowrap class="requirements">Optional;</td>
  </tr>
  <tr>
  <td colspan="2" class="clearseparation">&nbsp;</td>
  </tr>
  <tr>
  <td valign="top" colspan="2" class="description">
  <tr>
  <td valign="top" class="syntax">&nbsp;</td>
  <td valign="top" nowrap class="requirements">All</td>
  </tr>
  <tr>
  <td colspan="2" class="clearseparation">&nbsp;</td>
  </tr>
  <tr>
  <td valign="top" colspan="2" class="description">


<strong>Default value:</strong> "JavaScript (HTML/XML) or ActionScript (Flash) to run when the control changes due to user action. In Flash, applies to datefield, password, and text types only."


  </td>
  </tr>
  </table>
</div>
<div id="ONCLICK">
<table border="0" cellspacing="0" cellpadding="0" width="100%">
<tr>  
<td valign="top" class="name">ONCLICK</td>
  <td valign="top" nowrap class="compatibility">&nbsp;</td>
  </tr>
  <tr>
  <td colspan="2" class="divider"><img src="dwres:18084" width="100%" height="1"></td>
  </tr>

  <tr>
  <td valign="top" class="syntax">&nbsp;</td>
  <td valign="top" nowrap class="requirements">Optional;</td>
  </tr>
  <tr>
  <td colspan="2" class="clearseparation">&nbsp;</td>
  </tr>
  <tr>
  <td valign="top" colspan="2" class="description">
  <tr>
  <td valign="top" class="syntax">&nbsp;</td>
  <td valign="top" nowrap class="requirements">All</td>
  </tr>
  <tr>
  <td colspan="2" class="clearseparation">&nbsp;</td>
  </tr>
  <tr>
  <td valign="top" colspan="2" class="description">


<strong>Default value:</strong> "JavaScript (HTML/XML) or ActionScript (Flash) to run when the user clicks the control. In Flash, applies to button, checkbox, image, radio, reset, and submit types only."


  </td>
  </tr>
  </table>
</div>
<div id="DAYNAMES">
<table border="0" cellspacing="0" cellpadding="0" width="100%">
<tr>  
<td valign="top" class="name">DAYNAMES</td>
  <td valign="top" nowrap class="compatibility">&nbsp;</td>
  </tr>
  <tr>
  <td colspan="2" class="divider"><img src="dwres:18084" width="100%" height="1"></td>
  </tr>

  <tr>
  <td valign="top" class="syntax">&nbsp;</td>
  <td valign="top" nowrap class="requirements">Optional;</td>
  </tr>
  <tr>
  <td colspan="2" class="clearseparation">&nbsp;</td>
  </tr>
  <tr>
  <td valign="top" colspan="2" class="description">
  <tr>
  <td valign="top" class="syntax">&nbsp;</td>
  <td valign="top" nowrap class="requirements">All</td>
  </tr>
  <tr>
  <td colspan="2" class="clearseparation">&nbsp;</td>
  </tr>
  <tr>
  <td valign="top" colspan="2" class="description">

<strong>Default value:</strong> "S, M, T, W, Th, F, S"


<p>Applies to datefield type only. A comma-delimited list that sets the names of the weekdays displayed in the calendar. Sunday is the first day; the rest of the weekday names follow in the normal order.</p>

  </td>
  </tr>
  </table>
</div>
<div id="FIRSTDAYOFWEEK">
<table border="0" cellspacing="0" cellpadding="0" width="100%">
<tr>  
<td valign="top" class="name">FIRSTDAYOFWEEK</td>
  <td valign="top" nowrap class="compatibility">&nbsp;</td>
  </tr>
  <tr>
  <td colspan="2" class="divider"><img src="dwres:18084" width="100%" height="1"></td>
  </tr>

  <tr>
  <td valign="top" class="syntax">&nbsp;</td>
  <td valign="top" nowrap class="requirements">Optional;</td>
  </tr>
  <tr>
  <td colspan="2" class="clearseparation">&nbsp;</td>
  </tr>
  <tr>
  <td valign="top" colspan="2" class="description">
  <tr>
  <td valign="top" class="syntax">&nbsp;</td>
  <td valign="top" nowrap class="requirements">All</td>
  </tr>
  <tr>
  <td colspan="2" class="clearseparation">&nbsp;</td>
  </tr>
  <tr>
  <td valign="top" colspan="2" class="description">

<strong>Default value:</strong> "0"


<p>Applies to datefield type only. Integer in the range 0-6 specifying the first day of the week in the calendar: 0 indicates Sunday; 6 indicates Saturday.</p>

  </td>
  </tr>
  </table>
</div>
<div id="MONTHNAMES">
<table border="0" cellspacing="0" cellpadding="0" width="100%">
<tr>  
<td valign="top" class="name">MONTHNAMES</td>
  <td valign="top" nowrap class="compatibility">&nbsp;</td>
  </tr>
  <tr>
  <td colspan="2" class="divider"><img src="dwres:18084" width="100%" height="1"></td>
  </tr>

  <tr>
  <td valign="top" class="syntax">&nbsp;</td>
  <td valign="top" nowrap class="requirements">Optional;</td>
  </tr>
  <tr>
  <td colspan="2" class="clearseparation">&nbsp;</td>
  </tr>
  <tr>
  <td valign="top" colspan="2" class="description">
  <tr>
  <td valign="top" class="syntax">&nbsp;</td>
  <td valign="top" nowrap class="requirements">All</td>
  </tr>
  <tr>
  <td colspan="2" class="clearseparation">&nbsp;</td>
  </tr>
  <tr>
  <td valign="top" colspan="2" class="description">

<strong>Default value:</strong> "January, February, March, April, May, June, July, August, September, October, November, December"


<p>Applies to datefield type only. A comma-delimited list of the month names that are displayed at the top of the calendar.</p>

  </td>
  </tr>
  </table>
</div>
<div id="ENABLED">
<table border="0" cellspacing="0" cellpadding="0" width="100%">
<tr>  
<td valign="top" class="name">ENABLED</td>
  <td valign="top" nowrap class="compatibility">&nbsp;</td>
  </tr>
  <tr>
  <td colspan="2" class="divider"><img src="dwres:18084" width="100%" height="1"></td>
  </tr>

  <tr>
  <td valign="top" class="syntax">&nbsp;</td>
  <td valign="top" nowrap class="requirements">Optional; Flash</td>
  </tr>
  <tr>
  <td colspan="2" class="clearseparation">&nbsp;</td>
  </tr>
  <tr>
  <td valign="top" colspan="2" class="description">

<strong>Default value:</strong> "Yes"

<strong>Default value:</strong> "Boolean value specifying whether the control is enabled. A disabled control appears in light gray. The inverse of the disabled attribute."


  </td>
  </tr>
  </table>
</div>
<div id="VISIBLE">
<table border="0" cellspacing="0" cellpadding="0" width="100%">
<tr>  
<td valign="top" class="name">VISIBLE</td>
  <td valign="top" nowrap class="compatibility">&nbsp;</td>
  </tr>
  <tr>
  <td colspan="2" class="divider"><img src="dwres:18084" width="100%" height="1"></td>
  </tr>

  <tr>
  <td valign="top" class="syntax">&nbsp;</td>
  <td valign="top" nowrap class="requirements">Optional; Flash</td>
  </tr>
  <tr>
  <td colspan="2" class="clearseparation">&nbsp;</td>
  </tr>
  <tr>
  <td valign="top" colspan="2" class="description">

<strong>Default value:</strong> "Yes"

<strong>Default value:</strong> "Boolean value specifying whether to show the control. Space that would be occupied by an invisible control is blank."


  </td>
  </tr>
  </table>
</div>
<div id="TOOLTIP">
<table border="0" cellspacing="0" cellpadding="0" width="100%">
<tr>  
<td valign="top" class="name">TOOLTIP</td>
  <td valign="top" nowrap class="compatibility">&nbsp;</td>
  </tr>
  <tr>
  <td colspan="2" class="divider"><img src="dwres:18084" width="100%" height="1"></td>
  </tr>

  <tr>
  <td valign="top" class="syntax">&nbsp;</td>
  <td valign="top" nowrap class="requirements">Optional; Flash</td>
  </tr>
  <tr>
  <td colspan="2" class="clearseparation">&nbsp;</td>
  </tr>
  <tr>
  <td valign="top" colspan="2" class="description">


<strong>Default value:</strong> "Text to display when the mouse pointer hovers over the control. "


  </td>
  </tr>
  </table>
</div>
<div id="HEIGHT">
<table border="0" cellspacing="0" cellpadding="0" width="100%">
<tr>  
<td valign="top" class="name">HEIGHT</td>
  <td valign="top" nowrap class="compatibility">&nbsp;</td>
  </tr>
  <tr>
  <td colspan="2" class="divider"><img src="dwres:18084" width="100%" height="1"></td>
  </tr>

  <tr>
  <td valign="top" class="syntax">&nbsp;</td>
  <td valign="top" nowrap class="requirements">Optional; see Description</td>
  </tr>
  <tr>
  <td colspan="2" class="clearseparation">&nbsp;</td>
  </tr>
  <tr>
  <td valign="top" colspan="2" class="description">


  <tr>
  <td valign="top" class="syntax">&nbsp;</td>
  <td valign="top" nowrap class="requirements">Applies to most Flash types, HTML image type on some browsers. The height of the control, in pixels. The displayed height might be less than the specified size. </td>
  </tr>
  <tr>
  <td colspan="2" class="clearseparation">&nbsp;</td>
  </tr>
  <tr>
  <td valign="top" colspan="2" class="description">


  </td>
  </tr>
  </table>
</div>
<div id="WIDTH">
<table border="0" cellspacing="0" cellpadding="0" width="100%">
<tr>  
<td valign="top" class="name">WIDTH</td>
  <td valign="top" nowrap class="compatibility">&nbsp;</td>
  </tr>
  <tr>
  <td colspan="2" class="divider"><img src="dwres:18084" width="100%" height="1"></td>
  </tr>

  <tr>
  <td valign="top" class="syntax">&nbsp;</td>
  <td valign="top" nowrap class="requirements">Optional; see Description</td>
  </tr>
  <tr>
  <td colspan="2" class="clearseparation">&nbsp;</td>
  </tr>
  <tr>
  <td valign="top" colspan="2" class="description">


  <tr>
  <td valign="top" class="syntax">&nbsp;</td>
  <td valign="top" nowrap class="requirements">Applies to most Flash types, HTML image type on some browsers. The width of the control, in pixels. For Flash forms, ColdFusion ignores this attribute if you also specify a size attribute value.</td>
  </tr>
  <tr>
  <td colspan="2" class="clearseparation">&nbsp;</td>
  </tr>
  <tr>
  <td valign="top" colspan="2" class="description">


  </td>
  </tr>
  </table>
</div>

<p>date</p>

<p> If validateAt=&quot;onServer&quot;, allows any date format that returns True in the IsDate function; otherwise, same as USdate.</p>

  </td>
  </tr>
  </table>
</div>

<p>USdate</p>

<p>A US date of the format mm/dd/yy mm-dd-yy or mm.dd.yy, with 1-2 digit days and months, 1-4 digit years.</p>

  </td>
  </tr>
  </table>
</div>

<p>eurodate</p>

<p>A date of the format dd/mm/yy, with 1-2 digit days and months, 1-4 digit years.. The format can use /, -, or . characters as delimiters.</p>

  </td>
  </tr>
  </table>
</div>

<p>time</p>

<p>Time format hh:mm:ss</p>

  </td>
  </tr>
  </table>
</div>

<p>float or numeric</p>

<p>A number; allows integers. </p>

  </td>
  </tr>
  </table>
</div>

<p>integer</p>

<p>An integer.</p>

  </td>
  </tr>
  </table>
</div>

<p>range</p>

<p>A numeric range.</p>

  </td>
  </tr>
  </table>
</div>

<p>boolean</p>

<p>A value that can be converted to a Boolean value: Yes, No, True, False, or a number.</p>

  </td>
  </tr>
  </table>
</div>

<p>telephone</p>

<p>Standard U.S. telephone formats. Allows an initial 1 long-distance designator and up to 5-digit extensions, optionally starting with x.</p>

  </td>
  </tr>
  </table>
</div>

<p>zipcode</p>

<p>U.S. 5- or 9-digit ZIP code format #####-####. The separator can be a hyphen (-) or a space.</p>

  </td>
  </tr>
  </table>
</div>

<p>creditcard</p>

<p>Strips blanks and dashes; verifies number using mod10 algorithm. Number must have 13-16 digits.</p>

  </td>
  </tr>
  </table>
</div>

<p>ssn or social_security_number</p>

<p>US. Social Security number format, ###-##-####. The separator can be a hyphen (-) or a space.</p>

  </td>
  </tr>
  </table>
</div>

<p>email</p>

<p>A valid e-mail address of the form name@server.domain. ColdFusion validates the format only; it does not check that entry is a valid active e-mail address.</p>

  </td>
  </tr>
  </table>
</div>

<p>URL</p>

<p>A valid URL pattern; supports http, https, ftp file, mailto, and news URLs. </p>

  </td>
  </tr>
  </table>
</div>

<p>guid</p>

<p>A unique identifier that follows the Microsoft/DCE format, xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx, where x is a hexadecimal number.</p>

  </td>
  </tr>
  </table>
</div>

<p>uuid</p>

<p>A universally unique identifier (UUID) that follows the ColdFusion format, xxxxxxxx-xxxx-xxxx-xxxxxxxxxxxxxxxx, where x is a hexadecimal number.</p>

  </td>
  </tr>
  </table>
</div>

<p>maxlength</p>

<p> Limits the input to a maximum number of characters.</p>

  </td>
  </tr>
  </table>
</div>

<p>noblanks</p>

<p> Does not allow fields that consist only of blanks.</p>

  </td>
  </tr>
  </table>
</div>

<p>regex or regular_expression</p>

<p>Matches input against the pattern attribute. Valid in HTML and XML format only; ignored in Flash format.</p>

  </td>
  </tr>
  </table>
</div>

<p>SubmitOnce</p>

<p>Used only with submit and image types; prevents the user from submitting the same form multiple times before until the next page loads (for example, submitting an order a second time before getting the first order confirmation). Valid in HTML and XML format only; ignored in Flash format.</p>

  </td>
  </tr>
  </table>
</div>

  </body>
</html>
