MACROMEDIA COLDFUSION MX 61-CFML Reference page 327

Cfml reference
Hide thumbs Also See for COLDFUSION MX 61-CFML:
Table of Contents

Advertisement

Usage
This tag requires the client to download a Java applet. Using this tag may be slightly slower than
using an HTML form element to display the same information.
For this tag to work properly. the browser must be JavaScript-enabled.
If the following conditions are true, a user's selection from query data that populates this tag's
options continues to display after the user submits the form:
The
cfform preserveData
The
cfform action
the action page has a form that contains controls with the same names as corresponding
controls on the user entry form
For more information, see the
Example
<!--- This example shows how to use cfslider within cfform --->
<h3>cfslider Example</h3>
<p>cfslider, used within a cfform, can provide functionality
to Java-enabled browsers.
<p>Try moving the slider back and forth to see the real-time value change.
Then, submit the form to show how cfslider passes its value on to a new page.
<cfif isdefined("form.mySlider") is true>
<h3>You slid to a value of <cfoutput>#mySlider#</cfoutput></h3>
Try again!
</cfif>
<cfform action = "cfslider.cfm">
<cfslider name = "mySlider" value = "12"
label = "Actual Slider Value "
range = "1,100" align = "BASELINE"
message = "Slide the bar to get a value between 1 and 100"
height = "50" width = "150" font = "Verdana"
bgColor = "Silver" bold = "No"
italic = "Yes" refreshLabel = "Yes"> 100
<p><input type = "Submit" name = "" value = "Show the Result">
</cfform>
attribute is set to "
attribute posts to the same page as the form itself (this is the default), or
tag entry.
cfform
"
Yes
cfslider
327

Advertisement

Table of Contents
loading

This manual is also suitable for:

Coldfusion mx

Table of Contents