Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Erg value forgotten? HELP!

Status
Not open for further replies.

L8T3X

Programmer
Oct 2, 2001
10
CA
Well I have this school project that involves making a fake airline ticket purchase form. For some reason when the user pays by credit, the total changes from the total to the total with out a class being picked (1st class = $100, 2nd class = $50, etc). Please can somebody look at the html source of the document at and tell me what the heck is wrong? Thanks guys.
 
L8T3X -- Hi. Ok, I looked at the page (and the coding), you have the payment type as radio-buttons and the class type as radio-buttons, but the radio-buttons all have the same name: name="choice"...if you want the right total to be calculated you need the payment type and the class type to have two different radio-button names...for all class type make the names of radio-buttons one name and for all payment type make the radio-button different names...
EX: name="choice1" -- for class type
name="choice2" -- for payment type
Hope this helps... I have not failed; I merely found 100,000 different ways of not succeding...
 
Oh my god!
Thank you soooo much, this is due tomorrow. I'll probably get an A on it now! Thanks!!!!

I like your signature btw.
 
L8T3X -- Hey no problem, i hope u do get an A... I have not failed; I merely found 100,000 different ways of not succeding...
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top