Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 2 of 2
  1. #1
    New to the CF scene
    Join Date
    Aug 2010
    Posts
    1
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Exclamation I need help with coding a web form

    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>

  • #2
    Regular Coder
    Join Date
    Aug 2005
    Location
    MS
    Posts
    832
    Thanks
    10
    Thanked 79 Times in 77 Posts
    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_...nsfer_Protocol ) to work. Otherwise, no email can be sent.

    PHP: Sending Email Tutorial (Text/HTML/Attachments): http://www.webcheatsheet.com/php/sen...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=CNKhqe...FRQhnAod6laUqA
    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/ph...le.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-compo...tact-form.html

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


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •