I am trying to have a customer select from a drop down and whatever value is in it, populate a text box on the same form. Is this possible and if so, how?
I can't find any reference on how you separate the label from the value. From what I can tell, JS only allows you to retrieve what is specified in the "value=" attribute. You could do a little trickery though and use a delimiter and put both in there like this:
You could then write JS to separate them on the client side and use the CF list functions to separate them on the server side. That's the only way I can see right now to retrieve both the value and the label from with client side JS.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.