• Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint

Name

cfinput

Synopsis

<cfform>
  <cfinput>
  ...
</cfform>

Creates text and password input controls, as well as checkboxes and radio buttons, within a cfform.

New in ColdFusion MX, if the preservedata attribute of the cfform tag is set to Yes, radio button and checkbox types are checked provided the value of the control matches the value of the posted data.

Attributes

name=" name "

The form-field name for the input control. Required.

checked="Yes|No"

Whether or not a checkbox or radio button input control should be checked. Optional. The default is No.

maxlength="

PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


  
  • Creative Edge
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint