CFTEXTINPUT

The CFTEXTINPUT form custom control allows you to place a single-line text entry box in a CFFORM. In addition to input validation, the tag gives you control over all font characteristics.

Note

CFTEXTINPUT requires the client to download a Java applet. Downloading an applet takes time; therefore, using CFTEXTINPUT may be slightly slower than using an HTML form element to retrieve the same information. In addition, browsers must be Java-enabled for CFTEXTINPUT to work properly.

Syntax

 <CFTEXTINPUT NAME="name" VALUE="text" REQUIRED="Yes" or "No" RANGE="min_value, max_value" VALIDATE="data_type" ONVALIDATE="script_name" MESSAGE="text" ONERROR="text" SIZE="integer" FONT="font_name" FONTSIZE="integer" ITALIC="Yes" or "No" BOLD="Yes" ...

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.