Contact Form Help

Discussion in 'Programming' started by joshril27, Jul 22, 2009.

  1. #1
    joshril27, Jul 22, 2009 IP
  2. vasyl

    vasyl Peon

    Messages:
    138
    Likes Received:
    5
    Best Answers:
    0
    Trophy Points:
    0
    #2
    This form works ;) but using system-registered email client

    To make this form send message without email client you should put something else in the action attribute of the form. Some formmail or etc
     
    vasyl, Jul 23, 2009 IP
  3. SecureCP

    SecureCP Guest

    Messages:
    226
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    0
    #3
    Why don't you pass it through a PHP mail script?
     
    SecureCP, Jul 23, 2009 IP
  4. joshril27

    joshril27 Peon

    Messages:
    858
    Likes Received:
    8
    Best Answers:
    0
    Trophy Points:
    0
    #4
    What is the simplest way to do this? Can I set this up in cpanel?
     
    joshril27, Jul 24, 2009 IP
  5. SecureCP

    SecureCP Guest

    Messages:
    226
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    0
    #5
    Sorry, I should have looked at your source. I'm not positive on how you'd do it with flash. I'm assuming that you'd do something like (please forgive my ignorance of flash) on event or on click of the submit button it would then load, say, mail.php and accept the content and verify it.

    Again, I apologize. Should've looked at the source first.
     
    SecureCP, Jul 24, 2009 IP
  6. joshril27

    joshril27 Peon

    Messages:
    858
    Likes Received:
    8
    Best Answers:
    0
    Trophy Points:
    0
    #6
    Only the header is flash though... the rest of the site is HTML.
     
    joshril27, Jul 25, 2009 IP
  7. joshril27

    joshril27 Peon

    Messages:
    858
    Likes Received:
    8
    Best Answers:
    0
    Trophy Points:
    0
    #7
    How do I install this script? Still having trouble with this.

    Thanks!
     
    joshril27, Aug 10, 2009 IP
  8. headworker

    headworker Peon

    Messages:
    18
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #8
    You can use the formMail script to work it. Please PM me, I will provide you script for it.
     
    headworker, Aug 10, 2009 IP
  9. adolix

    adolix Peon

    Messages:
    787
    Likes Received:
    32
    Best Answers:
    0
    Trophy Points:
    0
    #9
    Mate, try 123ContactForm.com. It's very easy to make your form, you don't have to know any programming, just put the final HTML code on your website.. And yes, it's free.
     
    adolix, Nov 17, 2009 IP
  10. solarpanelsdirect

    solarpanelsdirect Peon

    Messages:
    152
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #10
    I would use a PHP form that the form submits too. Here is an example that woudl email the lead to your email that I wrote and use on my sites.

    
    <?php
    $txtname = $_POST['txtname'];
    $txtemail = $_POST['txtemail'];
    $txtmessage = $_POST['txtmessage'];
    
    $message =
    '
    Name: '.$txtname.
    '
    Email: '.$txtemail.
    '
    Message: '.$txtmessage;
    
    mail( "your@email.com", "New Message For Your Company",
        $message, "From: ".$txtemail );
    header('Location: http://www.yourwebsite.com/thanks.html');
    ?>
    
    Code (markup):
     
    solarpanelsdirect, Nov 17, 2009 IP