Solved

Sending Form result !!!

Posted on 1997-12-16
6
151 Views
Last Modified: 2013-12-25
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
Comment
Question by:ashrafsalah
  • 3
  • 2
6 Comments
 
LVL 5

Expert Comment

by:icd
ID: 1831659
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
 
LVL 10

Accepted Solution

by:
kollegov earned 20 total points
ID: 1831660
Inside <FORM ....> insert:
onSubmit='setTimeout("window.location=\"thanks.html\"",500)';

0
 

Author Comment

by:ashrafsalah
ID: 1831661
Thanks but what do you mean by Window.location ?
0
Master Your Team's Linux and Cloud Stack!

The average business loses $13.5M per year to ineffective training (per 1,000 employees). Keep ahead of the competition and combine in-person quality with online cost and flexibility by training with Linux Academy.

 

Author Comment

by:ashrafsalah
ID: 1831662
Thanks anyway
0
 
LVL 10

Expert Comment

by:kollegov
ID: 1831663
same as
window.document.location="some.html"
but
window.location="some.html"
work nice too :)
0
 
LVL 10

Expert Comment

by:kollegov
ID: 1831664
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

Gigs: Get Your Project Delivered by an Expert

Select from freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely and get projects done right.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Introduction This tutorial will give you a fast look what you can do with WhizBase. I expect you already know how to work with HTML at least, and that you understand the basics of the internet and how the internet works. WhizBase is a server-s…
It is becoming increasingly popular to have a front-page slider on a web site. Nearly every TV website,  magazine or online news has one on their site, and even some e-commerce sites have one. Today you can use sliders with Joomla, WordPress or …
Learn the basics of strings in Python: declaration, operations, indices, and slicing. Strings are declared with quotations; for example: s = "string": Strings are immutable.: Strings may be concatenated or multiplied using the addition and multiplic…
The viewer will learn how to create a basic form using some HTML5 and PHP for later processing. Set up your basic HTML file. Open your form tag and set the method and action attributes.: (CODE) Set up your first few inputs one for the name and …

775 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question