/    Sign up×
Community /Pin to ProfileBookmark

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…..

[upl-file uuid=a06174f6-04a3-4515-8d73-6b17f28e9117 size=27kB]sampleform.txt[/upl-file]

to post a comment
JavaScript

3 Comments(s)

Copy linkTweet thisAlerts:
@Khalid_AliOct 01.2003 — 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)
Copy linkTweet thisAlerts:
@tweetie37authorOct 01.2003 — Thanks. It worked! Now, I have to fix the price part of it....
Copy linkTweet thisAlerts:
@Khalid_AliOct 01.2003 — you are welcome

?
×

Success!

Help @tweetie37 spread the word by sharing this article on Twitter...

Tweet This
Sign in
Forgot password?
Sign in with TwitchSign in with GithubCreate Account
about: ({
version: 0.1.9 BETA 5.21,
whats_new: community page,
up_next: more Davinci•003 tasks,
coming_soon: events calendar,
social: @webDeveloperHQ
});

legal: ({
terms: of use,
privacy: policy
});
changelog: (
version: 0.1.9,
notes: added community page

version: 0.1.8,
notes: added Davinci•003

version: 0.1.7,
notes: upvote answers to bounties

version: 0.1.6,
notes: article editor refresh
)...
recent_tips: (
tipper: @AriseFacilitySolutions09,
tipped: article
amount: 1000 SATS,

tipper: @Yussuf4331,
tipped: article
amount: 1000 SATS,

tipper: @darkwebsites540,
tipped: article
amount: 10 SATS,
)...