How to create a submit form for a web page

Live forum: http://forum.freeipodguide.com/viewtopic.php?t=77789

tjwor

11-11-2008 08:59:49

I'm trying to make a page for people to submit a form to me, but I don't want it to have to make them email me the form.

Anyone know how to make this work?

doylnea

11-11-2008 10:05:21

did you make any effort to search on your own?

http//www.w3schools.com/html/html_forms.asp

JennyWren

11-11-2008 11:51:31

Do you want the form to email you upon submission automatically?

dmorris68

11-11-2008 12:01:49

You say you don't want them to e-mail the form contents to you. The form contents have to go lisomewhereli, either processed by the server and stored in a database (which means writing code and querying databases for the data), or e-mailed, or whatever. So you need to define your requirements first, then someone can propose solution(s).

tjwor

11-11-2008 12:32:09

[quote576b491a4c="doylnea"]did you make any effort to search on your own?

http//www.w3schools.com/html/html_forms.asp[/quote576b491a4c]

actually, I have been searching for the past week, and havn't found anything other than how to make a form that when they click submit it opens their mail program to send the content to me...

If it could automatically send it to my email that would be fine, or if I could set it up to place it on the server somewhere that I could access it that would work fine too...

The website you gave me looks like it might do the trick...

thanks

TryinToGetPaid

11-11-2008 14:15:42

http//www.surveymonkey.com/

dmorris68

11-11-2008 14:33:52

[quote39f163228f="tjwor"][quote39f163228f="doylnea"]did you make any effort to search on your own?

http//www.w3schools.com/html/html_forms.asp[/quote39f163228f]

actually, I have been searching for the past week, and havn't found anything other than how to make a form that when they click submit it opens their mail program to send the content to me...

If it could automatically send it to my email that would be fine, or if I could set it up to place it on the server somewhere that I could access it that would work fine too...

The website you gave me looks like it might do the trick...

thanks[/quote39f163228f]
TTGP mentioned SurveyMonkey, if what you want to do works within the structure of a survey. There are other similar sites as well.

The page that doylnea linked to is simply a reference for HTML form elements, and how to write a form in HTML. By itself, that is useless -- when you submit a form, all it does is submit to a URL with all of the form fields and values attached (either in the URL string itself, or as part of the HTTP response). The URL points to a script or application on the server that actually reads the form values and does something with them. This isn't something you can do on the browser side, it must be done on the server. Without such server-side processing, your form data goes in the bit bucket.

So either you find some existing service to package up and email you the form results, or some other pre-written CGI/PHP script that you can drop on the web server that will do the same. Or you go the whole nine yards and create a custom database and script that does whatever you want, and you can retrieve the data from the server in any number of ways.

The key is, you have to code running on a server somewhere to actually process and mail (or whatever) the form data.

Here is a list of free e-mail form services I just found with a 5 second Google search. You just create the form on your website following their directions, and point the form to their service. I've not tried any of these as I would just code whatever I needed myself, but they might be sufficient for your purposes.

http//www.thefreecountry.com/scripthosting/formtomail.shtml

tjwor

11-11-2008 16:57:17

thanks David, exactly what I was looking for, the survey page might work though, and would maybe be less time consuming, so thanks also TTGP!

I know i'll have a few more questions, but may not be related to the actual site building so I'll save those until they arise!