Go Premium for a chance to win a PS4. Enter to Win

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 170
  • Last Modified:

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
0
ashrafsalah
Asked:
ashrafsalah
  • 3
  • 2
1 Solution
 
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
 
kollegovCommented:
Inside <FORM ....> insert:
onSubmit='setTimeout("window.location=\"thanks.html\"",500)';

0
 
ashrafsalahAuthor Commented:
Thanks but what do you mean by Window.location ?
0
Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

 
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

Featured Post

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

  • 3
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now