|
|
|||||||||
|
|||||||||
|
|||||||||
| |
||
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
How do I total several user selected boxes
<i><b>Originally posted by : Ivan (pccomms@apexmail.com)</b></i><br />How do I get a total from several user selected boxes.<br /><br />A selection of boxes such as build your product.<br />Drop Box with 2-3 options<br />Several Check boxes<br />etc.<br />eg. Box 1<br />128Mb Ram $20 (user may select tis one)<br />56Mb Ram $5<br /><br />Box 2<br />6 gig HDD $150 (user may select this one)<br />20 gig HDD $ 250 <br /><br /><br />How do I add up and put a total of the users selections?<br /><br />An example is on Dell's site where you build your own specs.<br /><br />http://commerce.us.dell.com/dellstore/config.asp?customer_id=19&keycode=6V3T1?der_code=500312o<br /><br /><br />Anyone got any ideas on this.<br />Thank You<br />Ivan<br /><br /><br />
|
|
#2
|
|||
|
|||
|
<i><b>Originally posted by : akshay (kavyabose@hotmail.com)</b></i><br /> i think u are trying to add the sum of the total price of products the user selected in onepage.if u are showing it in next page this amt. before the form gets submitted check for the checkbox value if 0 leave it if it is 1 then take the value of the input box keep td in loop<br />pass it into a variable and post it to the next page.
|
|
#3
|
|||
|
|||
|
<i><b>Originally posted by : Ivan (pccomms@apexmail.com)</b></i><br />Cool akshay<br /><br />Sounds real complicated though, way beyond me I think.<br /><br />I did find an example though which is what i have in mind.<br />http://www.pcstorefront.net/OnlineTour.asp<br />Under "Tour as customer"<br />then under the "Build a System tab"<br /><br />This is a great piece of work, if I can come anywhere near this I would be happy.<br /><br />To tour as Administrator<br />Login Information:<br />User Name: pctour<br />Password: access<br /><br /><br /><br />------------<br />akshay at 3/6/2000 1:25:31 PM<br /><br /> i think u are trying to add the sum of the total price of products the user selected in onepage.if u are showing it in next page this amt. before the form gets submitted check for the checkbox value if 0 leave it if it is 1 then take the value of the input box keep td in loop<br />pass it into a variable and post it to the next page.
|
![]() |
| Viewing: ASP Free Forums > Programming > ASP Development > How do I total several user selected boxes |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|