Skip to main content
April 27, 2011
Answered

Dynamic Radio Buttons that offer dynamic output

  • April 27, 2011
  • 1 reply
  • 458 views

I am wondering if coldfusion has the abilty to perform the task

I am looking for. I want to list radio buttons

as options, and depending on which radio button the user selects,

they are then offered a series of other radio buttons.

Is this something coldfusion can handle, or would a different language

be better suited for this?

    This topic has been closed for replies.
    Correct answer Joshua_Cyr

    You are looking for a javascript solution. CF or any backend can handle

    dealing with the data, sending back and forth data about what radio button

    list to show, etc easily. But if you want no browser refreshes, then you

    need to look into javascript to display the list, use ajax to poll for

    refined radio button options, then display. I recommend looking into jquery

    and CF. CF can get the options from the database for you and serve to

    jquery which is run int he browser which will dictate how to display it

    nicely.

    http://api.jquery.com/radio-selector/

    <http://api.jquery.com/radio-selector/

    1 reply

    Joshua_CyrCorrect answer
    Participating Frequently
    April 27, 2011

    You are looking for a javascript solution. CF or any backend can handle

    dealing with the data, sending back and forth data about what radio button

    list to show, etc easily. But if you want no browser refreshes, then you

    need to look into javascript to display the list, use ajax to poll for

    refined radio button options, then display. I recommend looking into jquery

    and CF. CF can get the options from the database for you and serve to

    jquery which is run int he browser which will dictate how to display it

    nicely.

    http://api.jquery.com/radio-selector/

    <http://api.jquery.com/radio-selector/