Forum Moderators: mack

Message Too Old, No Replies

How do I create forms that gets sent to my email

Help with Submiting forms

         

pigsinpink

9:10 am on Feb 22, 2006 (gmt 0)

10+ Year Member



I recently built a form in Dreamweaver MX 2004 for visitors to fill in their details, and when submitted for the information to be sent to my email. Unfortunately I can't get it to work.

How do you do it? I've read previous messages on this forum about server scripts, suggested tutorials etc. but its very difficult and not worth the effort for just a one page form.

Is there any place where I can get scripts to cut & paste?

I don't really want to learn sever script languages at this point. I just want something that works - cut and paste suggestions would be great.

Thanks,

le_gber

11:37 am on Feb 22, 2006 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



hi pigsinpink,

try googling for 'nms scripts' you should find pelnty of information and free cut-n-paste scripts

hope this helps

pigsinpink

4:52 pm on Feb 23, 2006 (gmt 0)

10+ Year Member



Hi le_gber

Thanks for your feedback. As I read these pages I'm starting to understand more. Initially I used the form building tool of Dreamweaver to design the front end of the form - that is the actual form a visitor looks at. But from what I'm reading, it looks like you need to start with a web server that processes your forms, and you also need server-scripts (duh i think the whole world knew that).

Can you tell me more about web servers. Are they different from your normal hosting server or are they one and the same thing? What sites can you recommed for me to go for more info.

Terabytes

5:16 pm on Feb 23, 2006 (gmt 0)

10+ Year Member



Normally your hosting will have something already setup for submitting forms...

"normally"....

I've run into a few that have no idea that somebody would want a form on their website...go figure...

If the hosting has something setup already, all you need to do is inquire about where to point your form in order for it to work...

then you'd use something like this to accomplish your task within the page:

<form ACTION="http://www.domain.com/cgi-sys/FormMail.cgi" METHOD="post">

<input type="hidden" name="recipient" value="sombody@domain.com">

<input type="hidden" name="subject" value="Information Request From The Website">

<input type="hidden" name="redirect" value="http://www.domain.com/contact_thanks.htm">

I've had to setup from scratch the whole thing a few times...there are a few scripts available, but the code for the form is very similar to the above example..

that helps?

le_gber

6:18 pm on Feb 23, 2006 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



i would recommend using the nms script as they are a bit more secure that the normal formmail scripts. they let you use a number instead of email address for the recipient in the <form> to avoid your email getting found by email harvester bots - I think they are also more secure with regards to spam sent to non recipient and formmail highjacking.

regarding the web server and the hosting server they are the same thing. As Terabytes said, some host already have their own formail scripts setup for you where you only have to enter predefined data in your <form> tag. Those who do usually also offer a tutorial of some sort to help you set your form up.

Finally if your host does not have a formmail ready, you should put the script in your cgi-bin folder - in any case ask for the help of your hosting provider they should be able to point you in the right direction.

Hope this helps

Animated

12:31 am on Feb 26, 2006 (gmt 0)

10+ Year Member



its to bad dreamweaver doesn't have CGI too for processing input commands, but you can download scripts for free to do such stuff or learn php