Skip to main content
September 12, 2008
Answered

Confusing about binding with ColdFusion 8

  • September 12, 2008
  • 1 reply
  • 355 views
I am a bit confusing about the BIND methodologies to do what I need to do (and I am sure we can do it).

I have a serie of two RADIO for the option1 (let's say option 1 value A and value B) and another serie of two RADIO for the option 2 (let's say option 2 value A and value B) (see my code included).

What I want to do is when the user is selected the option 1-A, I want to automatically selected the option 2-A, and vice-versa; if the user select the option 2-A, the system must automatically choose the option 1-A. This will also work for the option 1-B with option 2-B.

I hope I am enough clear in my issue. Otherwise, feel free to let me know.
This topic has been closed for replies.
Correct answer
I am sorry about the confusion but maybe I am too deep-thinking about the BIND because what I wanted to do can be easilly done with JavaScript!

OnClick on the CFINPUT-RADIO can call a JS function to check and control what to see on the other set of options.

Someday we are getting more on our shoulders and the result is that our brain get confused!!! ;-))

1 reply

Correct answer
September 12, 2008
I am sorry about the confusion but maybe I am too deep-thinking about the BIND because what I wanted to do can be easilly done with JavaScript!

OnClick on the CFINPUT-RADIO can call a JS function to check and control what to see on the other set of options.

Someday we are getting more on our shoulders and the result is that our brain get confused!!! ;-))