Hi to all forum members ,

I'm building a site for an air freight company and wondered if anyone out there has some html code for a freight calculator. The 5 fields i need are

KG
Length
Heigtht
Width
Destination Airport

I need to be able to enter predefined values dependant on the destination airport.

Any help would be very welcomed !!!!

HTML can't do math. You'll have to use JavaScript or something server side. What's the formula for the calculation?

Thanks for the answer , the formula would be something like

Freight total =
KGs x Seleted Destination tariff per kg + Fixed amount for taxes etc.

Or

Volume x Selected Destination tarrif per m3 + Fixed amount for tax etc.

Whichever is greater

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.