Name
CFSLIDER — Enhanced in ColdFusion 5.0
Synopsis
<CFFORM> <CFSLIDER> ... </CFFORM>
Creates a Java slider control for use within a
CFFORM block.
Attributes
-
NAME="name" The form-field name for the slider control. Required.
-
LABEL="text" Text to appear with the slider control. Additionally,
%value%may be used within the label text to insert the current slider value. If%value%is omitted, the current slider value is output to the right of the label text. Optional.-
REFRESHLABEL="Yes|No" Whether or not the label should be refreshed when the slider moves. Default is
Yes.-
IMG="filename" The filename of an image to appear in the slider groove. Optional.
-
IMGSTYLE="style" The style to use for the image provided in
IMG. Valid entries areCentered,Tiled, andScaled. Optional. The default isScaled. This attribute is deprecated and no longer functional as of ColdFusion 5.0.-
RANGE="min_value,max_value" The beginning and ending values (numeric only) for the slider control. Optional. The default is “0,100”.
-
SCALE="integer" The incremental value to use between the values provided by
RANGE. Optional. The default is1.-
VALUE="integer" The default slider value. Optional. The default is the bottom number in
RANGE.-
ONVALIDATE="javascript_function" A JavaScript validation function that should be executed before the form is submitted. Optional.
-
MESSAGE="text" Text to appear if validation fails. Optional.
-
ONERROR="function_name" The name of a JavaScript function ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access