473,473 Members | 2,232 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

Overall Totals

Can someone help please.
I am trying to get an overall total using 3 different sets of radio
buttons. Each set of radio buttons must use at least the default value
but allow the user to select any other of the selections. What ever
selection is selected the overall total is amended depending on the
selection. There must be at least one selection selected from each set
of radio buttons and only one.
first options a = value 100 b = value 200 c = value 300 d = value 400. a
is the default value and is selected when the page opens if the user
changes it to b the overall total is increased by 100.
second options a = 50 b = 60 c = 70 a is default but allows the user to
select b and increase the over all total by 10.
third set of radio button a = 10 b = 20 a is the default again if the
user selects b then 10 is added to overall total and if he then changes
back to a then the overall total changes according to his selections.
When the page opens up with the above selections are set to default values
first set of radio buttons A default value 100
second set of radio buttons A default value 50
third set of radio buttons A default value 10.
This gives the overall total = 160.
Can someone point me in the right direction to keep the overall total in
line with what radio button is selected from each sets of buttons.
Thanks in advance
Bill
Mar 23 '06 #1
3 1587
bill wrote on 24 mrt 2006 in comp.lang.javascript:
I am trying to get an overall total using 3 different sets of radio
buttons. Each set of radio buttons must use at least the default value
but allow the user to select any other of the selections. What ever
selection is selected the overall total is amended depending on the
selection. There must be at least one selection selected from each set
of radio buttons and only one.
first options a = value 100 b = value 200 c = value 300 d = value 400.
a is the default value and is selected when the page opens if the
user changes it to b the overall total is increased by 100.
second options a = 50 b = 60 c = 70 a is default but allows the user
to select b and increase the over all total by 10.
third set of radio button a = 10 b = 20 a is the default again if the
user selects b then 10 is added to overall total and if he then
changes back to a then the overall total changes according to his
selections. When the page opens up with the above selections are set
to default values first set of radio buttons A default value 100
second set of radio buttons A default value 50
third set of radio buttons A default value 10.
This gives the overall total = 160.
Can someone point me in the right direction to keep the overall total
in line with what radio button is selected from each sets of buttons.


A school assignment?

--
Evertjan.
The Netherlands.
(Please change the x'es to dots in my emailaddress)
Mar 24 '06 #2
Evertjan. wrote:
bill wrote on 24 mrt 2006 in comp.lang.javascript:
I am trying to get an overall total using 3 different sets of radio
buttons. Each set of radio buttons must use at least the default value
but allow the user to select any other of the selections. What ever
selection is selected the overall total is amended depending on the
selection. There must be at least one selection selected from each set
of radio buttons and only one.
first options a = value 100 b = value 200 c = value 300 d = value 400.
a is the default value and is selected when the page opens if the
user changes it to b the overall total is increased by 100.
second options a = 50 b = 60 c = 70 a is default but allows the user
to select b and increase the over all total by 10.
third set of radio button a = 10 b = 20 a is the default again if the
user selects b then 10 is added to overall total and if he then
changes back to a then the overall total changes according to his
selections. When the page opens up with the above selections are set
to default values first set of radio buttons A default value 100
second set of radio buttons A default value 50
third set of radio buttons A default value 10.
This gives the overall total = 160.
Can someone point me in the right direction to keep the overall total
in line with what radio button is selected from each sets of buttons.


A school assignment?

no
Mar 24 '06 #3
bill wrote on 24 mrt 2006 in comp.lang.javascript:
Evertjan. wrote:
bill wrote on 24 mrt 2006 in comp.lang.javascript:
I am trying to get an overall total using 3 different sets of radio
buttons. Each set of radio buttons must use at least the default value
but allow the user to select any other of the selections. What ever
selection is selected the overall total is amended depending on the
selection. There must be at least one selection selected from each set
of radio buttons and only one.
first options a = value 100 b = value 200 c = value 300 d = value 400.
a is the default value and is selected when the page opens if the
user changes it to b the overall total is increased by 100.
second options a = 50 b = 60 c = 70 a is default but allows the user
to select b and increase the over all total by 10.
third set of radio button a = 10 b = 20 a is the default again if the
user selects b then 10 is added to overall total and if he then
changes back to a then the overall total changes according to his
selections. When the page opens up with the above selections are set
to default values first set of radio buttons A default value 100
second set of radio buttons A default value 50
third set of radio buttons A default value 10.
This gives the overall total = 160.
Can someone point me in the right direction to keep the overall total
in line with what radio button is selected from each sets of buttons.


A school assignment?

no


Are you sure? What else could be the sense of the above?

Well, show us your code,
and tell us where you went wrong,
this is not a payed helpdesk doing all your work for you.

--
Evertjan.
The Netherlands.
(Please change the x'es to dots in my emailaddress)
Mar 24 '06 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

4
by: New Guy | last post by:
I'm trying to work with a system that somebody else built and I am confounded by the following problem: There is a table of payments and a table of charges. Each client has charges and payments...
6
by: KashMarsh | last post by:
Trying to show running totals on a report, except it needs to show one total amount and values being subtracted from it. For example, the report shows a Total Inventory amount (TotInvAmt). And...
2
by: BerkshireGuy | last post by:
I have the following code: Dim strSQL As String Dim DB As DAO.Database Dim RS As DAO.Recordset Dim intNumOfPaid, intNumOfHypoed, intNumOfNotTaken, intNumOfDeclined, intNumOfWasted,...
2
by: Greg | last post by:
I was wondering if there is a simple way to present a totals column in a bound datagrid where the totals aren't actually persisted (in my case to an xml file). Ideally, when I populate the datagrid...
3
by: brm6546545 | last post by:
I have a tblTax. It has fields InvoiceNum, TaxAuthority, TaxableTotal, NonTaxableTotal, TaxCollected. Sample data 1,county,10.00,0.00,0.40 1,city,10.00,0.00,0.10 2,state,0.00,15.00,0.15 ...
3
by: =?Utf-8?B?Um9iZXJ0IENoYXBtYW4=?= | last post by:
Hi, Fairly easy to create one running total for a gridview but what if you have dozens of them? I have a gridview that allows bulk editing (all rows at once) and have it set up so that, on data...
4
by: Micheal | last post by:
Greetings Access Group, Being relatively new to Access, I try to work through problems on my own and have been very successful, although I have a conundrum that I have been working on for two days...
8
by: elias.farah | last post by:
Hello Everyone, I'm having some very weird behavior on a couple of Access forms. (Not all forms, just some of them). The forms have been working for years, under Access XP/2003 etc, and last...
5
by: colin spalding | last post by:
How do I design a totals query that instead of the following result YearOfAcc PremiumGBP 2004 9,142,306.95 2004 1,481,153.21 2005 11,981,987.85 2006 20,653,195.20 2006 ...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
1
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...
0
muto222
php
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.