cfinput

Used inside cfform to place radio buttons, checkboxes, or text boxes. Provides input validation for the specified control type.


Body

prohibited

Example

<cfinput
 [accept="string"]
 [accesskey="string"]
 [align="string"]
 [alt="string"]
 [autocomplete="string"]
 [autofocus="string"]
 [autosuggest="string"]
 [autosuggestbinddelay="number"]
 [autosuggestminlength="number"]
 [bind="string"]
 [bindattribute="string"]
 [bindonload="boolean"]
 [border="string"]
 [checked="string"]
 [class="string"]
 [datafld="string"]
 [dataformatas="string"]
 [datasrc="string"]
 [daynames="string"]
 [delimiter="string"]
 [dir="string"]
 [disabled="string"]
 [enabled="string"]
 [firstdayofweek="number"]
 [form="string"]
 [formaction="string"]
 [formenctype="string"]
 [formmethod="string"]
 [formnovalidate="string"]
 [formtarget="string"]
 [height="string"]
 [hspace="string"]
 [id="string"]
 [ismap="string"]
 [label="string"]
 [lang="string"]
 [list="string"]
 [mask="string"]
 [max="string"]
 [maxlength="number"]
 [maxresultsdisplayed="number"]
 [message="string"]
 [min="string"]
 [monthnames="string"]
 [multiple="string"]
 name="string"
 [notab="string"]
 [onbinderror="string"]
 [onblur="string"]
 [onchange="string"]
 [onclick="string"]
 [ondblclick="string"]
 [onerror="string"]
 [onfocus="string"]
 [onkeydown="string"]
 [onkeypress="string"]
 [onkeyup="string"]
 [onmousedown="string"]
 [onmousemove="string"]
 [onmouseout="string"]
 [onmouseover="string"]
 [onmouseup="string"]
 [onselect="string"]
 [onvalidate="string"]
 [passthrough="any"]
 [pattern="string"]
 [placeholder="string"]
 [range="string"]
 [readonly="string"]
 [required="boolean"]
 [showautosuggestloadingicon="boolean"]
 [size="string"]
 [sourcefortooltip="string"]
 [src="string"]
 [step="string"]
 [style="string"]
 [tabindex="string"]
 [title="string"]
 [tooltip="string"]
 [type="string"]
 [typeahead="boolean"]
 [usemap="string"]
 [validate="string"]
 [validateat="string"]
 [value="string"]
 [visible="string"]
 [width="string"]
>

Attributes