You can use the cfslider control in a cfform tag to create a slider control and define a variety of characteristics, including label text, label font name, size, boldface, italics, and color, and slider range, positioning, and behavior. Slider bars are useful because they are highly visual and users can only enter valid values. The cfslider tag is not supported in Flash format forms.
Create a slider control
Create a ColdFusion page with the following content:
<cfform name="Form1" action="submit.cfm">
- Save the file as slider.cfm and view it in your browser.
To get the value of the slider in the action page, use the variable Form.slider_name; in this case, Form.myslider.