Capture value from action form
Posted on 2003-02-20
If all of the required fields are filled out, it submits the form. All of this works well.
My problem is this. The validation works well on the client side but I also need to do the validation on the back end (in my stored procedure). For now, lets put aside that I am doing the validation on the client side and that I am doing in all from the back end. I have FORMA where users enter in address information and FORMB where I run my stored procedure to grab -1 or 0.
<FORM NAME="FORMA" action="FORMB.asp" METHOD="POST">
First Name: Last Name:
<FORM NAME="FORMB" METHOD="POST">
-run my stored procedure to do validation.
-It returns me -1(not all required fields are filled) and 0(all required fields are filled)
-This is my problem: I can't capture -1 value on FORMA until I refresh the form. If I refresh the form, I loose what ever information the users enter in. How can I keep the information the users enter in on FORMA and also capture the -1 value from FORMB????