If you take a look at what I posted, you'll notice that if the data is
validated successfully then the SaveData subroutine is called. Rather than
saving the data though, you would just send your email in that subroutine.
Basically the user will hit the same page 2 or more times
1st time--user enters their information
2nd time -- page is validated--if it's valid, then it saves the data/emails
the data then redirect to the "all done" page.
-- if it's not valid, the initial page is presented again,
with the error messages.
3rd and up time -- same as 2nd, if it's valid, save/email, if not, show it
again.
Wait a sec......
Are you saying, that Page1 collects some information, then Page 2 collects
more information (but different)?
If so, then you have a couple of choices.
Choice 1, save all the Page1 data in hidden form fields
Choice 2, save in Session variables
Dim sName
sName=Request.Form("Name")
if IsValid(sName) then 'some validating script
Session("Name") = sName
end if
then on the third page you retrieve with sName=Session("Name")
Choice 3, after page 1 is submitted you store the page1 data in a database
and retrieve on Page 3
with this method you still need to keep track of the data.
Again, either with a Session variable or Hidden form field
"Tricia Castrogiovanni" <> wrote in message
news:...
> I could validate in the on the same page as the first form and redirect
> to the second page of the form (a good idea that I never thought of),
> but then how do I get the data to the second page?
>
> As I stated in my first post, I will be e-mailing all of the data out,
> so I will need it all in one place at one time. Is there a way I can do
> this with the method you suggested?
>
> Thanks
>
>
>
> *** Sent via Developersdex http://www.developersdex.com ***
> Don't just participate in USENET...get rewarded for it!