Not sure what you mean, because your subject says "before submit is clicked", which sounds like a client side issue and your code shows server side ASP.
Are you referring to the fact that the numbers are not added, but appended? That 2 + 2 equals 22 instead of 4?
If that's the case, convert your numbers to a "real" number data type, like a Int or a Double:
Code:
total = CInt(intSize2) + CInt(intSize3)
If this is not what you're after, please be more specific.
Cheers,
Imar
---------------------------------------
Imar Spaanjaars
Everyone is unique, except for me.