Go Back   CodingForums.com > :: Client side development > HTML & CSS

Before you post, read our: Rules & Posting Guidelines

Reply
 
Thread Tools Rate Thread
Enjoy an ad free experience by logging in. Not a member yet? Register.
Old 11-21-2009, 01:24 AM   PM User | #1
nickHiebert
Regular Coder

 
Join Date: Oct 2009
Location: London, ON
Posts: 111
Thanks: 4
Thanked 0 Times in 0 Posts
nickHiebert is an unknown quantity at this point
Problems with creating a form with email functionalty

View it live here - nickhiebert.com/test_site/contact.html

This is what I'm using now
Code:
 <form action="MAILTO:sampleemail@email.com" method="post" enctype="text/plain">
			Name:<br>
			<input type="text" name="name" size="40">
			<br>
            <br />
			Email:<br>
			<input type="text" name="mail" size="40">
			<br>
            <br />
			Subject:<br>
			<input type="text" name="subject" size="40">
			<br>
            <br />
			Message:<br>
			<textarea rows="8" cols="31"></textarea><br />
            <br />
			<input type="submit" value="Send">
            <input type="reset" value="Reset">
			</form>
The problem I'm having is not working. Anyone know of any other ways? I found a sample of this and modified it from this link - w3schools.com/html/tryit.asp?filename=tryhtml_form_mail

Help would be appreciated

Thanks
nickHiebert is offline   Reply With Quote
Old 11-21-2009, 01:40 AM   PM User | #2
Excavator
Master Coder


 
Excavator's Avatar
 
Join Date: Dec 2006
Location: Alaska
Posts: 9,410
Thanks: 22
Thanked 1,765 Times in 1,749 Posts
Excavator has a spectacular aura aboutExcavator has a spectacular aura aboutExcavator has a spectacular aura about
Hello again nickHiebert,
A mailto may not be the best way to go. Have a look at this page.
__________________
Validate often DURING development - Use it like a splelchecker | Debug during Development |Write it for FireFox, ignore IE
Use the right DocType | Validate your markup | Validate your CSS | Why validating is good | Why tables are bad
Excavator is offline   Reply With Quote
Old 11-21-2009, 10:11 AM   PM User | #3
prasanthmj
Regular Coder

 
Join Date: Jul 2003
Posts: 117
Thanks: 0
Thanked 17 Times in 17 Posts
prasanthmj is an unknown quantity at this point
mailto may not work in all conditions see:
Email form using 'mailto'

and
How to get email from html form submission
prasanthmj is offline   Reply With Quote
Reply

Bookmarks

Tags
css, email, form, html, input

Jump To Top of Thread


Thread Tools
Rate This Thread
Rate This Thread:

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

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 10:46 PM.


Advertisement
Log in to turn off these ads.