PDA

View Full Version : Help with "First False" Error


R.Willams
07-01-2003, 09:04 AM
Hello,
I can't figure out what's wrong with this script, and no matter what I do, the error message is always the same: "Script Error: False First". The error occurs on a shopping cart form page when you click the submit button. The page in question is located here: http://www.lelk-industries.com/wigs/sho/
and the page with the script error is here: http://www.lelk-industries.com/wigs/sho/order.html , although the code itself doesn't work outside a frame, so it needs to be accessed from the first address anyways.
If anyone could tell me what I'm doing wrong, I would be immensely grateful to them! Thanks!

arnyinc
07-01-2003, 01:54 PM
There is quite a bit of stuff missing or placed in error. I took out some other code that was causing problems, but fixed the validation script.

I commented out this line
//document.write('<table width=400 ><tr><tr><td colspan=3>Running Total : $ </td><td colspan=3 align=right> <input type=text name=total size=6 value='+ format(parent.all_order_totals(),2) + '></font></td><tr>');

I got rid of the onload, onunload events in the <body> tag.

I deleted all the shipping information in checkRequired() since I couldn't see anything in this page that it corresponds to.