Click to See Complete Forum and Search --> : My order form


tweetie37
09-30-2003, 02:57 PM
Hi everyone:
Can someone take a look at my code here. When I put quantity in the space for it and click total, it shows individual total but not the actual total at the botton after subtotal (it doesn't even show subtotal). Also my prices are under $1 so the calculation obviously is wrong. Can someone help me with that too. I left the code as is to show you that it won't work for under $1 but works for above $1. But as I say my Total doesn't work!!!!! I am desperate.
ps this was someone else's code which I am modifying.....

Khalid Ali
10-01-2003, 09:03 AM
some code you've got there...anyways..

on line 272 you have this lineof code

form.ENV.value = AddDecimal(SAmt5);

replace it with the one below

form.ENV2Total.value = AddDecimal(SAmt5);

it should work..now if the calculations are wrong...well its to messy to look into to find out what are you doing wrong there..(no time sorry)

tweetie37
10-01-2003, 09:44 AM
Thanks. It worked! Now, I have to fix the price part of it....

Khalid Ali
10-01-2003, 09:56 AM
you are welcome

;)