Hello
I am a web beginner, and I have a login page as the first page of a ASP web application I am designing. On this page I have a standard HTML form of two input boxes for username and password and a submit button to POST the input to another form.
My problem is that I want to validate this information before the POST, and if necessary cancel the POST so that I stay on the current page in order to correct the form input and try again. I have succeeding in validating the input using VBscript routines so that I know when I want to cancel, but I don't know the cancel command.
The VBscript routine where I do the validation is the submit button_click event and I presume that is where the cancel command would go. Is this correct? I would be very grateful for code clips on how to issue the cancel command.
Many thanks,
Trimtrom
I am a web beginner, and I have a login page as the first page of a ASP web application I am designing. On this page I have a standard HTML form of two input boxes for username and password and a submit button to POST the input to another form.
My problem is that I want to validate this information before the POST, and if necessary cancel the POST so that I stay on the current page in order to correct the form input and try again. I have succeeding in validating the input using VBscript routines so that I know when I want to cancel, but I don't know the cancel command.
The VBscript routine where I do the validation is the submit button_click event and I presume that is where the cancel command would go. Is this correct? I would be very grateful for code clips on how to issue the cancel command.
Many thanks,
Trimtrom