Search the Community
Showing results for tags 'radiobutton'.
-
I have the following code. When executed, if you select one button then select the other button, it does not clear the first button, so both buttons are selected. I can't see what I've done wrong. Any help? <!DOCTYPE html> <html> <body> <h2>Radio Buttons</h2> <p>The <strong>input type="radio"</strong> defines a radio button:</p> <form action="/action_page.php"> <tr> <td><select name="os0"> <option value="$5 donation">$5 donation $5.00 USD</option> <option value="$10 donation">$10 donation $10.00 USD</option> <option value="$25 donation">$25 donation $25.00 USD</option> <option value="$50 donation">$50 donation $50.00 USD</option> <option value="$100 donation">$100 donation $100.00 USD</option> </select></td></tr> <br><br> <tr> <td> <input name="on1" <input type="radio" id="memory" value="In Memory of"> <label for="memory">In Memory of: </label><br> <input type="radio" id="honor" name="honor" value="In Honor of"> <label for="honor">In Honor of: </label><br><br> </td> </tr> </form> </body> </html>
- 1 reply
-
- form
- radiobutton
-
(and 1 more)
Tagged with:
-
Let's try this again... I'm using 2 radio buttons and a drop down. what I want is to send the user to one of 6 urls when they hit submit. radio buttons: -Fairy Goddess -Inner Warrior drop down : -Young Adult -20 Something -30 and up Possible outcomes: 1. Fairy Goddess - Young Adult -->url 2. Fairy Goddess - 20 Something -->url 3. Fairy Goddess - 30 and up -->url 4. Inner Warrior - Young Adult -->url 5. Inner Warrior - 20 Something -->url 6. Inner Warrior - 30 and up -->url here's my NEW code: <form action="/html/tags/html_form_tag_action.cfm" method="get"><fieldset><div><label for="guide">Choose Your Guide</label><br><input type="radio" name="guide" value="fairygoddess" /> Fairy Goddess<input type="radio" name="guide" value="innerwarrior" /> Inner Warrior</div><div><label for="age">Choose your Age Group:</label><br><select name="age"><option value ="youngadult">Young Adult</option><option value ="20something">20 Something</option><option value ="30andup">30 and up</option></select></div><div><input type="submit" value="Submit" /></div></fieldset></form>
- 3 replies
-
- dropdown
- radiobutton
-
(and 3 more)
Tagged with:
-
I have created a radio button on click listbox will display now if user click a one radio button listbox value will display in table but again user select other option at that time it displaying same table with same value so its not clear a previous value of listbox value ...so i have thougth that to clear full listbox value or listbox??? <script language="JavaScript" type="text/javascript">function fun(s){if(s=={document.getElementById("maingroup").style.display='none';document.getElementById("subgroup").style.display='';document.getElementById("itemname").style.display='none';}if(s==C){document.getElementById("maingroup").style.display='none';document.getElementById("subgroup").style.display='none';document.getElementById("itemname").style.display='';}</script> here is the full example in Jsfiddle http://jsfiddle.net/senthil4040/LUY3J/ kindly help on this Am new to script????