RE: Forms
by "Michael Gerholdt" <gerholdt(at)ait.fredonia.edu>
|
Date: |
Thu, 24 Sep 1998 14:15:48 -0400 |
To: |
"Wendy Melendez" <MelendW(at)jcdc.jobcorps.org>, <hwg-graphics(at)hwg.org> |
In-Reply-To: |
jcdcrs0 |
|
todo: View
Thread,
Original
|
|
Wendy Melendez wrote:
I am creating a form for a page, and I have a problem. As you all have
seen, when you submit a form on the internet, right after you had put in all
the information and then click submit, it appears a new page saying: Thanks
for ... your information has been sent ....
Please, if anyone know how to create this link let me know.
-------
In the head of the doc containing the form:
<SCRIPT LANGUAGE="JavaScript">
</SCRIPT>
And you use the OnSubmit event handler in the FORM tag, something like this:
<FORM METHOD="POST" NAME="RES" ACTION="mailto:gerholdt(at)ait.fredonia.edu"
OnSubmit="window.open
('thanks.htm','newWin','scrollbars=yes,status=yes,width=640,height=280')";>
where "thanks.htm" is the page to display in the new window. This does open
a new browser window of the above specified size without closing the page
the form is on, which may not be what you wish to do . . . it's the way I
chose to do it and I didn't figure out the way to open a new page in the
same window. Perhaps instead of 'window.open' you'd use 'window.self' or
something of the sort.
HTH,
Michael
HWG: hwg-graphics mailing list archives,
maintained by Webmasters @ IWA