Click to See Complete Forum and Search --> : On submit-does not check


james_cwy
08-23-2004, 10:45 PM
##DELETED THE QUESTION.

javaNoobie
08-24-2004, 01:21 AM
in your if statement u have
frm.free.value == ""

yet in calculating your total
parseInt(frm.freeb.value)

maybe this is the problem?

*edit recommend that u do Number() instead of parseInt() since your codes will validate that the total is between 1 to 3 and you only have 6 textboxes which may result in decimal input. hence parseInt() is not recommended

james_cwy
08-24-2004, 02:49 AM
Thanks for the reply.

Forget my question above in the first post.

I have deleted it.

THanks