Results 1 to 6 of 6

Thread: Form Help

  1. #1
    Join Date
    Feb 2007
    Posts
    2,588
    Tokens
    3,654

    Latest Awards:

    Default Form Help

    I am trying to create an email form, I have everything I need, but I cannot get it to submit to my email, can someone help me please.

    <h3 class="contactTitle">Email us:</h3>
    <!-- custom form messages start -->
    <span class="error" id="nameError">Please enter your name !</span> <span class="error" id="emailError">Please enter your email address !</span> <span


    class="error" id="emailError2">Please enter a valid email address !</span> <span class="error" id="messageError">Please enter your message !</span>
    <div class="contactSuccessMessage"> <img src="./images/ok.png" alt="" />
    <h4>Thank you for contacting us.</h4>
    </div>
    <!-- custom form messages end -->
    <!-- contact form start -->
    <div class="contactForm" id="contactForm">
    <form id="contact" />
    <fieldset>
    <label for="contactName" id="name_label">Name (required)</label>
    <input type="text" name="contactName" id="contactName" size="30" value="" class="text-input" />
    <label for="contactEmail" id="email_label">Email (required)</label>
    <input type="text" name="contactEmail" id="contactEmail" size="30" value="" class="text-input" />
    <label for="contactSubject" id="subject_label">Subject</label>
    <input type="text" name="contactSubject" id="contactSubject" size="30" value="" class="text-input" />
    <label for="contactMessage" id="message_label">Message (required)</label>
    <textarea name="contactMessage" id="contactMessage" class="text-input"></textarea>
    <p>
    <input type="submit" name="submitMessage" class="contactButton" id="contactSubmitBtn" value="" action="mailto:[email protected]" />
    </p>
    </fieldset>
    </form>
    </div>
    <!-- contact form end -->

  2. #2
    Join Date
    Mar 2008
    Posts
    5,108
    Tokens
    3,780

    Latest Awards:

    Default

    Try this:

    http://pastie.org/2965328

    This won't work unless you have a mail client like Outlook, Thunderbird, Apple Mail, etc. Then you need a backend script to handle it.

  3. #3
    Join Date
    Feb 2007
    Posts
    2,588
    Tokens
    3,654

    Latest Awards:

    Default

    I can say that that code did not work for me.

  4. #4
    Join Date
    Mar 2008
    Posts
    5,108
    Tokens
    3,780

    Latest Awards:

    Default

    Do you have an email client installed? Otherwise it's not going to work.

    You're going to need a backend script to handle the email then. PHP, ASP, ColdFusion, Java, etc.

  5. #5
    Join Date
    Feb 2007
    Posts
    2,588
    Tokens
    3,654

    Latest Awards:

    Default

    Quote Originally Posted by Dentafrice View Post
    Do you have an email client installed? Otherwise it's not going to work.

    You're going to need a backend script to handle the email then. PHP, ASP, ColdFusion, Java, etc.
    I have outlook and still doesnt work, do you knowwhereI can find a backend script so it will send straight from my website to my email inbox.

  6. #6
    Join Date
    Mar 2008
    Posts
    5,108
    Tokens
    3,780

    Latest Awards:

    Default

    I haven't got time today to make one for you for free (unless you'd rather pay a few dollars). Otherwise,http://lmgtfy.com/?q=PHP+Contact+Form

    Should be a good one there.

Posting Permissions

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