Err, sorry guys, I think I've figured it out already.
Is it possible for me to do the data validation in home.html after the user presses SUBMIT
Yes, but you'd have to use JavaScript to read the values of the text field. Even if you did this, it would not be secure enough because I could create my own form and view it from my home computer, submitting directly to your process.asp, which leads to my next answer...
any errors must be corrected before submitting the form again to process.asp?
P.s: process.asp is another pop-up window.
Why don't you validate within process.asp? It's safer.
Error Type:
Microsoft JScript runtime (0x800A1391)
'service' is undefined
/chm/Calculator/process.asp, line 39
This error is strange. Are you using VBScript for your ASP page? If so, why does it give you a JScript runtime error? Do you have JScript running by default rather than ASP? Just curious.
Reputation Points: 262
Solved Threads: 18
a.k.a inscissor
Offline 1,227 posts
since Feb 2002