User Name Password Register
DaniWeb IT Discussion Community
All
What is DaniWeb IT Discussion Community?
You're currently browsing the HTML and CSS section within the Web Development category of DaniWeb, a massive community of 332,663 software developers, web developers, Internet marketers, and tech gurus who are all enthusiastic about making contacts, networking, and learning from each other. In fact, there are 2,276 IT professionals currently interacting right now! Registration is free, only takes a minute and lets you enjoy all of the interactive features of the site.
Please support our HTML and CSS advertiser: Lunarpages Web Hosting
Views: 141 | Replies: 2
Reply
Join Date: May 2008
Posts: 2
Reputation: dogondoor is an unknown quantity at this point 
Rep Power: 0
Solved Threads: 0
dogondoor dogondoor is offline Offline
Newbie Poster

HTML code for a freight calculator?

  #1  
9 Days Ago
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 !!!!
AddThis Social Bookmark Button
Reply With Quote  
Join Date: Nov 2007
Location: Arkansas
Posts: 116
Reputation: buddylee17 is an unknown quantity at this point 
Rep Power: 1
Solved Threads: 21
buddylee17's Avatar
buddylee17 buddylee17 is offline Offline
Junior Poster

Re: HTML code for a freight calculator?

  #2  
9 Days Ago
HTML can't do math. You'll have to use JavaScript or something server side. What's the formula for the calculation?
Reply With Quote  
Join Date: May 2008
Posts: 2
Reputation: dogondoor is an unknown quantity at this point 
Rep Power: 0
Solved Threads: 0
dogondoor dogondoor is offline Offline
Newbie Poster

Re: HTML code for a freight calculator?

  #3  
9 Days Ago
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
Reply With Quote  
Reply

Only community members can participate in forum threads. You must register or log in to contribute.

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)

 

DaniWeb HTML and CSS Marketplace
Thread Tools Display Modes

Other Threads in the HTML and CSS Forum

All times are GMT -4. The time now is 3:39 am.
Forum system based on vBulletin Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
©2003 - 2008 DaniWeb® LLC