LOOKING TO COMPLETE ASAP!!! Actively awaiting proposals!
I'm creating a calculator with Javscript/HTML/CSS to calculate shipping costs. I'll explain the process below, the issue I'm running into, and then my code for people to view.
Here is what I have and am trying to accomplish:
-- User ticks radio button (default is "in" selected), and "right side" inputs hide/display accordingly. (so when inches are selected, the fields for cm and kg are hidden, and vise versa)
-- User enters in 4 variables. (length, width, height, actual weight)
-- User clicks the "calculate" button.
-- ^ displays value of volumetric weight in corresponding field.
-- ^ compares volumetric weight against actual weight, and then assigns the largest value to variable (currently "billedWeight" & "billedWeight2")
-- ^ It then takes above variable and calculates the "totalCost"/"totalCost2" using the math provided ($5 per half pound, if you need context or start from scratch)
-- It assigns the totalCost or totalCost2 to the appropriate field.
Done. I would like someone to be able to enter in different information right then and there, and have it recalculate, select cm/in instead, and recalculate, etc. What I would assume normal behavior, but as of now, mine does not operate like that. Sometimes things work, sometimes they don't. No page refresh, nothing. Just "is" mucked up heh.
Before I post the code, I want to say SERIOUS candidates only. Ones who can accomplish this quickly or fix what already exists. Looking for this to be done quickly, and there's no reason it can't be (For someone who knows what they're doing.. javacript is NOT my strong suit.)
((*Calculations for volumetric weight, kb --> lbs, and the $5/half pound are accurate. There are other calculations that round UP to the .5 (or 1), the values of user inputted actual weight & calculated volumetric weight. ))
Attached is the code (exceeded the post limit). It's in one document, so do what you need to to see it "live" OR spot the mistake (*fingers crossed*)