Reply
form submit
Old 07-23-2008, 06:54 AM form submit
Experienced Talker

Posts: 38
Name: Phil
Hi
Does anyone have a free form that people can fill out and when they click submit it sends those details to be via email or something?
Iv search online but cant really find something suitable.
thanks
philmetz is offline
Reply With Quote
View Public Profile
 
When You Register, These Ads Go Away!
Old 07-23-2008, 09:21 AM Re: form submit
chrishirst's Avatar
Super Moderator

Posts: 13,609
Location: Blackpool. UK
http://www.candsdesign.co.uk/article...pt/send-email/

However javascript is NOT really suitable for sending email
__________________
Chris. ->> Links are advertising NOT optimising!! <<-
Indifference will be the downfall of mankind, but who cares?
Code Samples | People Counting System
chrishirst is offline
Reply With Quote
View Public Profile Visit chrishirst's homepage!
 
Old 07-23-2008, 09:23 AM Re: form submit
Novice Talker

Posts: 7
Hi,
This should get you started. You will need to fit it into your html file and make it prety with CSS.
----

<formtitle="form1"action="mailto:info@yadayada.com"enctype="text/plain"method="post">
<pclass="legend">
Personal Information
</p>
<fieldsetid="personal">
<label>Name: <spanstyle="color:Red;">*</span></label><inputtype="text"maxlength="20"size="20"name="Full name"/><br/>
<label>Address line1:</label><inputtype="text"maxlength="30"size="30"name="Address line1"/><br/>
<label>Address line 2:</label><inputtype="text"maxlength="30"size="30"name="Address line2"/><br/>
<label>City:</label><inputtype="text"maxlength="20"size="20"name="City"/><br/>
<label>State:</label><inputtype="text"maxlength="4"size="6"name="State"/><br/>
<label>Country: <spanstyle="color:Red;">*</span></label><inputtype="text"maxlength="20"size="20"name="Country"/><br/>
<label>Postcode:</label><inputtype="text"maxlength="5"size="6"name="Postal Code"/><br/>
<label>Phone:</label><inputtype="text"maxlength="20"size="20"name="Phone"/><br/>
<label>E-mail address: <spanstyle="color:Red;">*</span></label><inputtype="text"maxlength="50"size="35"name="E-mail1"/><br/>
<label>Industry:</label><selectname="Industry">
<optionvalue="None selected"label="&lt;please select&gt;">&lt;please select&gt;</option>
<optionvalue="Agriculture"label="Agriculture">Agriculture</option>
<optionvalue="Communication"label="Communication">Communication</option>
<optionvalue="Construction"label="Construction">Construction</option>
<optionvalue="Manufacturing"label="Manufacturing">Manufacturing</option>
<optionvalue="Pharmaceutical"label="Pharmaceutical">Pharmaceutical</option>
<optionvalue="Service"label="Service">Service</option>
<optionvalue="Technology"label="Technology">Technology</option>
<optionvalue="Wholesale/Retail"label="Wholesale/Retail">Wholesale/Retail</option>
</select><br/>
</fieldset>
<br/><br/>Please click 'Subscribe',<br/>
and follow the prompts.
<p>
<inputtype="submit"value="Subscribe"/>
</p>
</form>
Jackson#1 is offline
Reply With Quote
View Public Profile
 
Old 07-23-2008, 11:28 AM Re: form submit
wayfarer07's Avatar
$frontend->developer

Posts: 1,036
Name: Abel Mohler
Location: Asheville, North Carolina USA
As Chris stated above, JavaScript is a very bad way to send email. It is much better to do it server-side, since there are so many powerful ways to do it from the server.
__________________
Go FREELANCE <=|If a donkey eats a melon, it is still a donkey... |=> Hire Me

Last edited by wayfarer07 : 07-26-2008 at 09:00 AM.
wayfarer07 is offline
Reply With Quote
View Public Profile
 
Old 07-24-2008, 03:31 AM Re: form submit
Experienced Talker

Posts: 38
Name: Phil
Thanks Christ and Jackson, Ill have a look at those options, If javascript is not appropriate, do you have a link to another option.

Thanks
philmetz is offline
Reply With Quote
View Public Profile
 
Old 07-24-2008, 04:22 AM Re: form submit
chrishirst's Avatar
Super Moderator

Posts: 13,609
Location: Blackpool. UK
Have I had an upgrade?
__________________
Chris. ->> Links are advertising NOT optimising!! <<-
Indifference will be the downfall of mankind, but who cares?
Code Samples | People Counting System
chrishirst is offline
Reply With Quote
View Public Profile Visit chrishirst's homepage!
 
Old 07-24-2008, 04:52 AM Re: form submit
Experienced Talker

Posts: 38
Name: Phil
I dont really knowing website coding much, i use the graphical approach.
So JACKSON, i used ur code and pasted as html, but then in normal view it, juts comes out as words, with no fields to fill or buttons, any help pls

Last edited by philmetz : 07-24-2008 at 05:02 AM.
philmetz is offline
Reply With Quote
View Public Profile
 
Old 07-24-2008, 05:48 AM Re: form submit
Experienced Talker

Posts: 38
Name: Phil
I would also liek to be able for someone to upload a picture as well and it all be sent to my email?
philmetz is offline
Reply With Quote
View Public Profile
 
Old 07-24-2008, 01:30 PM Re: form submit
chrishirst's Avatar
Super Moderator

Posts: 13,609
Location: Blackpool. UK
Quote:
Originally Posted by philmetz View Post
I would also liek to be able for someone to upload a picture as well and it all be sent to my email?
definitely need server side code for that to happen.
__________________
Chris. ->> Links are advertising NOT optimising!! <<-
Indifference will be the downfall of mankind, but who cares?
Code Samples | People Counting System
chrishirst is offline
Reply With Quote
View Public Profile Visit chrishirst's homepage!
 
Old 07-24-2008, 01:44 PM Re: form submit
Ultra Talker

Posts: 333
Name: Michael
Location: Spring Hill, Florida
I kept getting bots in my mailbox from form submissions, so I changed the submit to a image that looks like the submit but really leads to another site... It remains constant, but it's a way to send them to my site with the spam bot destroyo 2000 lmao

here's the link to see what im talking about
http://www.eautocad.com/page12.html

i
__________________
Internet Marketing Search Engine 6,000+ Places to Advertise FREE with RSS & 25,000 Locals through statistical reference of traffic, quality, popularity, and more!

eautocad is offline
Reply With Quote
View Public Profile Visit eautocad's homepage!
 
Old 07-25-2008, 08:52 PM Re: form submit
Novice Talker

Posts: 7
Hi
The problem is there are no spaces in the document. When I pasted the html script webmaster gobbled up all the spaces, but luckily left the colors so you can put them back. This is required throughout the document. eg.
inputtype
should be two words "input" and "type".
Jackson#1 is offline
Reply With Quote
View Public Profile
 
Old 07-25-2008, 08:56 PM Re: form submit
Novice Talker

Posts: 7
PS I agree with Chris about serverSide vs clientSide. Also the clientSide method exposes your e-mail to auto spammers.
Jackson#1 is offline
Reply With Quote
View Public Profile
 
Reply     « Reply to form submit
 

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off