Feedback on: Check Boxes and Radio Buttons
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.
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
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?
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)
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
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
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! :-)
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 + "***");
Worth:
Worth reading
Comments:
Would love to know how to increase the size and appearance of a checkbox (color, etc.)
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
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 ;-)
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.