
pass a form from web page to web page
Write each form's information to hidden fields in the new page's form; they
will be submitted to the next page with the new information:
=== A.asp ===
<form action="B.asp" method="post">
Client Info stuff:
<input name="Client" type="text" value="Client Info"><br>
<input type="submit" value="Parent Info">
</form>
=== B.asp ===
<form action="C.asp" method="post">
<input name="Client" type="hidden" value="<%= Request.Form("Client") %>">
Parent Info stuff:
<input name="Parent" type="text" value="Parent Info"><br>
<input type="submit" value="Reference Info">
</form>
=== C.asp ===
<form action="D.asp" method="post">
<input name="Client" type="hidden" value="<%= Request.Form("Client") %>">
<input name="Parent" type="hidden" value="<%= Request.Form("Parent") %>">
Reference Info stuff:
<input name="Reference" type="text" value="Reference Info"><br>
<input type="submit" name="Action" value="Add">
<input type="submit" name="Action" value="Update"><br>
</form>
=== D.asp ===
<pre>
Client Info: <%= Request.Form("Client") %>
Parent Info: <%= Request.Form("Parent") %>
Reference Info: <%= Request.Form("Reference") %>
Action: <%= Request.Form("Action") %>
</pre>
--
When you live in the shadow of insanity, the appearance of another mind that
thinks and talks as yours does is something close to a blessed event. -R.
Pirsig
=-=-=
Steve
-=-=-
Quote:
> I am trying to do a webpage that has 3 tabs at the top.
> Each tab has a form where the user enters data.
> (tab 'A' for Client Info, 'B' for Parent Info, 'C' for References)
> When the user clicks 'A', they ONLY see the lines for Client Info.
> When the user clicks 'B', they ONLY see the lines for Parent Info.
> When the user clicks 'C', they ONLY see the lines for Reference Info.
> These three parts comprise a whole record of an Access database.
> "HOW" can I let the user jump from tab to tab and then be able to click
> ADD RECORD or UPDATE RECORD and retain the info from the form
> from web page to web page?
> Can I pass an entire form from one page to another much like passing a
> variable?
> (ie: onclick="DoIt.asp"?info=2)???
> This is stumping me. Please help.