Click to See Complete Forum and Search --> : Variable to retain its value


janvanheerden
12-20-2002, 12:50 PM
Hi everybody,

Its me, Jannieboy back again with another problem.

I have 2 forms on a page. In form 1 I ask the client to fill in personal details. I then generate a unique reference no consisting of the person's surname, the date and the time.

I store this no in a variable and in textboxes in forms 1 and 2. When I submit form 1, the form is cleared as expected. What I did not expect is that the ref no in form 2 was also cleared.

I have 2 questions:

1 How do you retain the value of a variable after the form
has been submitted?
2 How can the client store a copy of the info he/she has
submitted?

Once again, you help will be appreciated.

Regards,

Jan van Heerden:confused:

janvanheerden
12-23-2002, 09:31 AM
Thanks Dave, I will try it

Jan