Skip to main content
New Participant
April 10, 2009
Question

how to populate a cfselect depending upon radio button selected?

  • April 10, 2009
  • 1 reply
  • 603 views

HI

                 I am new to coldfusion.I dont know much about cold fusion.I have a problem like there are two radio buttons and a select box.Depending upon the slection of the radio button  the select box should be populated.i.e if first radio button is selected then select box should populate some set of values and if second radio button is  slected then selct box should be populated with other set of values.It would be very helpfull to me for anykind of ideas.

             Thanks in Advance

    This topic has been closed for replies.

    1 reply

    Inspiring
    April 11, 2009

    You are attempting something similar to Related Selects.  If you google "Cold Fusion Related Selects", you should find some code samples.  Here is how I do it. http://www.pathcom.com/~bracuk/code/RelatedSelects.htm

    All you have to do is adapt those principles to work with a radio button.