Discussion Locked

VBScript procedure error

0 helpful
3 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.

Could anyone tell me what I am doing wrong here? I am trying to calculate the total cost of 4 items based on a Checkbox selection. Any help would be greatly appreciated:

3 replies

by nikki96

Your HTML is messed up with that object, but I don't know what it is supposed to do. You forgot to close the form tag (bracket missing) and the object is embedded in the checkbox funny.

Anyway, your script tag is funky. Change it to

by adisha

Thankyou for your promt response - this script is intended to be run on IE.

lblTotal is the formatted version of CurTotal (line 13).
Your suggestions were good but I am still getting:
type mismatch for the "Calculate" functions on lines 52,57.62 and 67.

Any suggestions?

This discussion is closed to new replies.