View Full Version : popup form menu $ calculation
09-30-2003, 06:51 PM
any help would be greatlt appreciated!
09-30-2003, 09:09 PM
What do you mean by a popup menu? A selection list?
09-30-2003, 09:24 PM
yeah just like that.. good work
09-30-2003, 09:31 PM
Glad you like it :)
Hopefully within a week or two, it will be on the main site:
with explanations & other features
09-30-2003, 09:33 PM
i need it without the array
i tried and broke it
09-30-2003, 09:37 PM
how are you going to fill it? server-side?
put up some code -- so I can see what you're doing
(this is why I never get to finish this stuff :(
09-30-2003, 09:42 PM
Regular Adult Price -- $8.50
Children 6-11, and Seniorīs 65+ -- $6.00
Children 6 and under -- FREE
Group Discounts - 10 or more - $5.00
Shipping Charges are $1.50 per order
i want them to be able to order ticks from each and get a total
whats do you think is the best way?
people might want to order multiple tickets
09-30-2003, 09:45 PM
put the data in an array -- and either wait for the 'qty' selection list -- or write your own or hire someone to write it.
09-30-2003, 09:48 PM
can you do this? if so how much?
09-30-2003, 09:59 PM
how and i add the $1.50 shipping charge
nice script man really!
10-01-2003, 01:46 PM
can anybody please tell me wht is wrong with the following code,
i have to creata an airline ticket price calculator form, i cant get it to work, im tried so many times.:rolleyes:
anybody's help will be really appreciated, i hope you guys wouldnt mind me posting the code in here.:rolleyes:
<title> Metropolis </title>
<!-- // Calculate the cost of the flight
var routeIndex;//index of the selected route
var fare;//cost of flights
var seatingMultiplier;//seating class multiplier
//determine the one-way fare for the selected route
alert("Select a route");
// Adjust the fare if a return flight
has been selected
//adjust the fare for the selected seating class
for(var i=0; i<=2; i++)
alert("Please select a seating class");
alert("The cost of the flight is $ +fare);
<h1> Metropolis Airline Fare Calculator
<p> Complete the form below to Calculate the cost of your flight:</p>
<select name="route" size="1">
<p>Click here if you wil be purchasing a return fare:
<input type="checkbox" name="returnFare">
<input type="radio" name="seating" value="2">First Class</br>
<input type="radio" name="seating" value="1.5">Business Class</br>
<input type="radio" name="seating" value="1">Economy Class</br>
<p><input type="button" value="Calculate" onClick="Calculatecost()">
<input type="reset" value="Reset"></p>
10-01-2003, 01:48 PM
hope someone would help me with the above mentioned problem:rolleyes:
Powered by vBulletin® Version 4.2.2 Copyright © 2015 vBulletin Solutions, Inc. All rights reserved.