User Guide

336 Chapter 2: ColdFusion Tags
Usage
This tag requires the client to download a Java applet. Downloading an applet takes time;
therefore, using this tag might be slightly slower than using an HTML form element or the
cfinput tag to get the same information.
For this tag to work properly. the browser must be JavaScript-enabled.
If the following conditions are true, a users selection from query data that populates this tag’s
options continues to display after the user submits the form:
The cfform preserveData attribute is set to "Yes"
align Optional Alignment of text entry box with respect to adjacent HTML
content:
top
left
bottom
baseline
texttop
absbottom
middle
absmiddle
right
bgColor Optional Background color of control. For a hex value, use the form:
textColor = "##xxxxxx", where x = 0-9 or A-F; use two
pound signs or none.
any color, in hex format
black
red
blue
magenta
cyan
orange
darkgray
pink
gray
white
lightgray
yellow
textColor Optional Text color for control.
Options: same as for
bgcolor attribute.
maxLength Optional The maximum length of text entered.
notSupported Optional Text to display if a page that contains a Java applet-based
cfform control is opened by a browser that does not support
Java, or has Java support disabled. For example:
notSupported = "<b> Browser must support Java to view
ColdFusion Java Applets</b>"
If no message is specified, this message displays:
<b>Browser must support Java to <br> view ColdFusion Java
Applets!</b>
Attribute Req/Opt Default Description