Feedback: Check Boxes and Radio Buttons
Feedback on: Check Boxes and Radio Buttons
Sent by Alex Klo on May 21, 1999 at 15:51:19: - feedback #191
Worth: Very worth reading
Comments: Yes, I am wondering if you know of a way to write a checkbox script that adds $2.00 to a total amount for ever check box selected. I have using the elements array (e.g.document.form.name[0].checked) for the 3 checkboxes I have. Then a for loop with an an if to check to see if the checkboxes were checked then add 2. Use a onChange handler in my textfield were the total will be. If you could help verify this script I would be greatly thankful.
Sent by H.Schuyler Collins III on November 08, 1999 at 12:04:46: - feedback #573
Worth: Very worth reading
Length: Just right
Comments: I have been searching around for a complete demo on radio buttons in java and this is it. Very good,thanks
Sent by Jeff Perrins on October 10, 2000 at 07:09:25: - feedback #1845
Worth: Worth reading
Comments: I need to add the values (in £'s) when a number of checkboxes are activated in a form. There are nine checkboxes, all with different values that I need to obtain a total for when the user decide what s/he needs. Can you help?
Sent by James on January 15, 2001 at 20:04:36: - feedback #2246
Worth: Worth reading
Length: Too short
Technical: Just right
Comments: The forms don't display values in my browser (Explorer 4.5 for the Mac)
Sent by Mike Sadka on February 06, 2001 at 08:11:21: - feedback #2331
Worth: Worth reading
Length: Too short
Technical: Just right
Comments: Very helpful article, but Martin says: One possible work around, is to remember the settings of the form, reset it using the reset() method, and then repair the damage - difficult, but not impossible. But he gives no indication of how the radio buttons can be reset, which would be nice. Cheers, Mike
Sent by Mike Sadka on February 06, 2001 at 08:13:08: - feedback #2332
Worth: Very worth reading
Length: Too short
Technical: Just right
Comments: I think my previous comment of a few moments ago was misleading. What I was missing in the article was something saying how the "damage" can be repaired after using the reset() method - i.e. - if you know which radio buttons should be checked, how do you check them using JavaScript. Cheers, Mike
Sent by Frederik Schøning on March 04, 2001 at 11:53:04: - feedback #2449
Worth: Very worth reading
Length: Too short
Technical: Just right
Comments: This is just what I needed! Excellent! Keep up submitting these great tutorials, this tutorial was good and understandable and not like e.g. a Microsoft tutorial, which you would need an encyclopedia to read! :-)
Sent by Steve on March 08, 2001 at 15:43:38: - feedback #2466
Worth: Not worth reading
Comments: huh? Why do you provide code that dosen't work? I mean please. Here is the suspect crap ... var ln = eval("document.cart.x_login[document.cart.x_login.selectedindex].value"); document.write("***" + ln + "***");
Sent by Bill Adams on July 20, 2001 at 14:39:41: - feedback #2991
Worth: Worth reading
Comments: Would love to know how to increase the size and appearance of a checkbox (color, etc.)
Sent by Ang Talunin on January 12, 2002 at 03:48:37: - feedback #3482
Worth: Very worth reading
Comments: Hey, Nice site, learned a lot, but i've got a little thing: You say it is very difficult to reset a radiobutton. Well it isn't that hard. Just use this: if (eval("document.Form.radiogroup[x].checked") == true){ document.Form.radiogroup[x].checked = !document.Form.radiogroup[x].checked; so by using the !-- you can change the value from true to false and vice versa
Sent by Francis Fonyo on October 28, 2002 at 19:27:34: - feedback #4240
Worth: Very worth reading
Comments: I am a budding Web Master and currently working on Input & Feedback Forms. Found your article on Check Boxes and Radio Buttons Most Helpful. Thank You Very Much ... Francis ;-)
Sent by vikas on Tuesday April 17, 2007 at 04:40:28 - feedback #4444
Worth: Very worth reading
Length:
Technical:
Comments: i need to know if in checkbox i want the particular row of checkbox would be invisible then how can i do that when my checkbox in comming dyanically.
|