Results 1 to 3 of 3

ColdFusion and Dreamweaver radio buttons!!

This is a discussion on ColdFusion and Dreamweaver radio buttons!! within the Programming forums, part of the Web Designing & Development category; My ColdFusion and Dreamweaver radio buttons allow me to mark each one of them instead of just one. Why? I ...

  1. #1
    Junior Member
    Join Date
    Feb 2008
    Posts
    1

    Default ColdFusion and Dreamweaver radio buttons!!

    My ColdFusion and Dreamweaver radio buttons allow me to mark each one of them instead of just one. Why? I have to create ColdFusion radio buttons using Dreamweaver as my text editor. When I make the radio buttons using ColdFusion code, I can test the page and check all the radio buttons as if they were checkboxes. I thought it might just be ColdFusion so I use regular HTMl to create them and it does the same. Is there an option I am missing that tells the radio buttons to only allow one button to be selected? Or is it something else? Help would be greatly appreciated.

  2. #2
    Senior Member akash's Avatar
    Join Date
    Oct 2008
    Location
    Heaven (Earth)
    Posts
    504

    Default Re: ColdFusion and Dreamweaver radio buttons!!

    Radio buttons are commonly used for selecting one of a group of choices.

    <input type="radio" name="sex" value="male"> Male
    <input type="radio" name="sex" value="female"> Female

    Only one option can be selected when the 'name' property is same.

    If the 'name' property is different then you could select both.

    <input type="radio" name="sex1" value="male"> Male
    <input type="radio" name="sex2" value="female"> Female

  3. #3
    Senior Member
    Join Date
    Mar 2011
    Posts
    194

    Default Re: ColdFusion and Dreamweaver radio buttons!!

    Both are use as simple text editor.