Skip to main content
Inspiring
February 25, 2011
Question

cfslider - not passing value to forms

  • February 25, 2011
  • 1 reply
  • 1170 views

I am missing something?

This form returns only "go" - not the value of slider1. It wioll onhly retunr a value only works if I use format applet.

<cfform method="post" name="form01" >
    <cfslider name="slider1"
    format="HTML"
    vertical="false"
    width="350"
    value="100"
    min="0"
    max="200"
    increment="10"
    tip="true"/>
    <cfinput type="submit" name="go" value="go">
</cfform>

This topic has been closed for replies.

1 reply

Fernis
Inspiring
February 26, 2011

>I am missing something?

If you have, then there are two of us.

Seems like a bug to me. Couldn't find that one in Adobe Bug database either. Go ahead and post a new one, I say.

You could probably go around this by using Javascript function to change a value of a hidden input field.

-Fernis

Inspiring
February 26, 2011

Make that three of us (I am running 9.0.1, fully patched).  I've annotated the docs to point out there example doesn't work.  And will vote for a bug if you raise one and post the ref back here.

--

Adam

KDN0211Author
Inspiring
February 26, 2011

Thanks for checking it out. Here is the bug report:

*****BUG******
Concise problem statement:
Steps to reproduce bug:
1. Run this code:
<cfform method="post" name="form01" >
    <cfslider name="slider1"
    format="HTML"
    vertical="false"
    width="350"
    value="100"
    min="0"
    max="200"
    increment="10"
    tip="true"/>
    <cfinput type="submit" name="go" value="go">
</cfform>

Results: slider1 returns no value on submit - actually does not exist in the form submit. It only works in applet (which is not practical for our users.)
Expected results: slider1 should be returning the slide value.

See post: http://forums.adobe.com/thread/796754?tstart=0. Two other users get the same results.