Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

p0intblank

macrumors 68030
Original poster
Sep 20, 2005
2,548
2
New Jersey
I have a form for users to fill out and I want the information they input emailed to me after they click the "Submit" button. I did a little research and found out I need a form handler. How do I go about actually installing one of these? I'm using Dreamweaver 8.

Thank you! :)
 
I have a form for users to fill out and I want the information they input emailed to me after they click the "Submit" button. I did a little research and found out I need a form handler. How do I go about actually installing one of these? I'm using Dreamweaver 8.

Thank you! :)

I use php for that. A quick Google Search will find you may tutorials on it.
 
Thanks for the help. I found this one: http://formtoemail.com/

It seems to do what I want, but I'm not sure how to implement it into the HTML. I already have my forms built, so I don't need the forms already in the code the script provides.

Is there a way I can set it up so it works with the forms I have already created?
 
Thanks for the help. I found this one: http://formtoemail.com/

It seems to do what I want, but I'm not sure how to implement it into the HTML. I already have my forms built, so I don't need the forms already in the code the script provides.

Is there a way I can set it up so it works with the forms I have already created?

You can set up the php as its own file and have the action of you form set to that file. With the script that site uses you should also have the conformation message in the php file.
 
You can set up the php as its own file and have the action of you form set to that file. With the script that site uses you should also have the conformation message in the php file.

Thank you! That's the answer I was looking for. I'm in class now, but I'll try it when I get home and let you know how it goes.
 
Okay I don't get what I am doing wrong. I followed the instructions from http://formtoemail.com/ and the web page after I click "Submit" is giving me the following error:

Method Not Allowed
The requested method POST is not allowed for the URL /test_form.html.

Anyone know how to do this? It's really confusing me. I edited the code to my liking to add in the extra forms I needed (their code only had Name and Email fields). I uploaded the .php file and everything.

Please help. :( I'm new to this whole PHP thing.
 
Okay so I found out godaddy.com supplies a CGI script for what I need. I'm still having the same problem, though. The forms are done and I am pointing to the correct CGI file. It keeps giving me the "POST" error. If anyone is curious, I have a test page set up:

http://www.photodvd.tv/test_form.html

Also why are the email and continue codes showing up? Sorry for all the trouble... I just really want to get this working as quickly as possible.

Edit: It turns out Go Daddy has a php file in the FTP server as opposed to a CGI file. So I pointed my form to the php file and it looks like I got one step further. Instead of giving me the error message, it takes me back to my homepage... but it doesn't email me. I'm putting these two codes in after form:

$my_email="daviddifranco@gmail.com"
$continue="/formsent.html"

Is that correct? I'm following the instructions.

Edit #8935: It works! I just five emails from myself. I fixed up the forms' titles and everything seems to be fine. Now for a more complex question...

How do I enable the user to upload multiple files, in this case photos? Dreamweaver has the form available, but it only allows up to one file at a time. Help is much appreciated! Thank you. :)
 
Found a mild alternative to PHP...

I've gone from not being able to get around the workings of formscripts, PHP, PERL etc to getting a script up and working with all the retrievable results overnight. It's not the classiest or cleanest way of data retieval - but it works (for me, anyway).

www.jotform.com is a form-design site where you build forms using a wysiwyg java application. Once done you submit the form data to them (they hold the form processing script on their server) and then you simply rip the HTML code into your web software (Dreamweaver etc) and then you're done - the form works. However...

In order to access the form data, you have to log in to jotform to access your form and retrieve the results manually. If you set up a reminder to do this daily, shouldn't be a real chore.

It's a good site, actually. As well as the actual form side, there is a community forum which has a lot to offer. It's probably not much of a deal to many of you out there but I'll sleep well tonight - anyone else having trouble with forms, go there!
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.