Sending Form result !!!

Hi,

I have created forms for feedback and I want to know how to start a html file to thank the sender or confirm receiving his data after pressing the submit button.

I'll do appreciate if some body tell me the exact way to enable this action after submiting the data form.

Check my home page at http://www.geocities.com/rainforest/5346

Regards
ashrafsalahAsked:
Who is Participating?
 
kollegovConnect With a Mentor Commented:
Inside <FORM ....> insert:
onSubmit='setTimeout("window.location=\"thanks.html\"",500)';

0
 
icdCommented:
I was not prepared to wait more than five minutes to download your page and then search for a form. However...

I understand that geocities do not allow you to write your own scripts. I assume therefore that you are using a 'mailto' script or some other generic form provided by geocities themselves. In this case the confirm screen will be that provided by the geocities script.

To have total control over the output you would need to write your own script that would generate the html based on the form input.

0
 
ashrafsalahAuthor Commented:
Thanks but what do you mean by Window.location ?
0
Get your problem seen by more experts

Be seen. Boost your question’s priority for more expert views and faster solutions

 
ashrafsalahAuthor Commented:
Thanks anyway
0
 
kollegovCommented:
same as
window.document.location="some.html"
but
window.location="some.html"
work nice too :)
0
 
kollegovCommented:
same as
window.document.location="some.html"
but
window.location="some.html"
work nice too :)

This will open new location in default window.
I.e. open some.html in your window.



0
All Courses

From novice to tech pro — start learning today.