...

View Full Version : I need help with coding a web form



Unknow_n
08-31-2010, 09:47 AM
hi,

I am new to the web design thing, i would please like to ask any one to please tell me what i did wrong in my code here. I want the form to be sent to an email without having to set up a file on my server. Here is the code:

<form action="mailto:domain@domain.com" method="post" enctype="application/x-www-form-urlencoded">
<p>
<label>Yes
<input type="checkbox" name="Yes" id="Yes" />
</label>
</p>
<p>
<label> No
<input type="checkbox" name="No" id="No" />
</label>
</p>
<p>
<label>
<input type="submit" name="Submit" id="Submit" value="Submit" />

</label>
</p>
</form>

Major Payne
09-01-2010, 07:26 AM
Hope you know that both boxes can be checked. The form worked for me. Be sure to change:

mailto:domain@domain.com

Using your real email address. Example:

mailto:my_email@gmail.com

Better if you used a server-side form. Use a server-side script language if your web site allows it. Otherwise, you will have to use a client-side dependent "mailto:" action to get the form info sent to you.

Your current hosting package MUST allow SMTP ( http://en.wikipedia.org/wiki/Simple_Mail_Transfer_Protocol ) to work. Otherwise, no email can be sent.

PHP: Sending Email Tutorial (Text/HTML/Attachments): http://www.webcheatsheet.com/php/send_email_text_html_attachment.php

Use any of the below sites to make the workable form you need:

For making forms:

These are really good online form makers. Just follow the instructions for making it and uploading file(s).

Contact Form Generator: http://www.tele-pro.co.uk/scripts/contact_form/
WYSIWYG Form Maker: http://www.jotform.com/?gclid=CNKhqei1wJ4CFRQhnAod6laUqA
http://www.thesitewizard.com/wizards/feedbackform.shtml
Ajax - Creating an HTML Form: http://www.tizag.com/ajaxTutorial/ajaxform.php
http://www.phpform.org/

http://www.thepcmanwebsite.com/form_mail.shtml
http://emailmeform.com/
http://www.freecontactform.com/
http://www.reconn.us/content/view/12/34/ (Download - Contact Us Script)
http://formsmarts.com/

http://apptools.com/phptools/forms/forms1.php
Form Service: http://www.mycontactform.com/
Online Free Tool, PHP Contact Form Code Generator: http://www.htmlbasix.com/contactform.shtml
PHP Mailer Script Step by Step: http://www.htmlgoodies.com/beyond/php/article.php/3855686
PHP Sending E-mails: http://www.w3schools.com/PHP/php_mail.asp

Freebie: Good looking Fluid Contact Form: http://www.flashuser.net/flash-components/freebie-good-looking-flash-contact-form.html

Put an online contact form on your site in about 8 minutes (Requires an account): http://response-o-matic.com/



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum