|
dev
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
Adding multiple checkbox valuesI was wondering if it is possible to add the value of checkboxes. <INPUT type=checkbox name=test01 CHECKED value=1> <INPUT type=checkbox name=test01 CHECKED value=2> <INPUT type=checkbox name=test01 CHECKED value=4> <INPUT type=checkbox name=test01 CHECKED value=8> If the user clicked the second (value=2) and third (value=4) check boxes, when the submit button is clicked, the sum of all "test01" boxes is sent. In this example, test01=6 would be sent. Is this possible or do I have to use javascript or something else. I need to avoid the test01=2, 4 I am currently getting. Any and all help would greatly be appreciated. Thanks
Other interesting topics
Re: Cannot access Access database on website w/html page
Bandwidth FP 2003 - FORMS - and User Input Background sound types or extensions. Front Page & Netscape Compatability - Assistance Please Changing the default Portrait Option When Printing displaying results on web site in frontpage How to hide all the toolbars in a Page? live updates how do I control display settings in FrontPage? |
|||||||||||||||||||||||