CodingForums.com

CodingForums.com (http://www.codingforums.com/index.php)
-   HTML & CSS (http://www.codingforums.com/forumdisplay.php?f=13)
-   -   Need some help with a contact form... (http://www.codingforums.com/showthread.php?t=283566)

Tkdmaster 12-05-2012 02:43 AM

Need some help with a contact form...
 
Hello! so I recently got a website template online to help build my portfolio, and so far its great,e xcept for the contact page! I can't seem to figure out the code to make it actually send me emails when people use the contact form.

here's the code for the form itself that I pulled out of the html page.

Code:

                                <form id="contact-form" action="http://mojothemes.cosmo-coder.com/dual-flow/Dark/process-contact.php" method="post" novalidate="novalidate">
                                        <label for="name">Name <span>(required)</span></label>
                                        <input type="text" name="name" id="name" class="form-input" autofocus pattern="[a-zA-Z ]{3,}" maxlength="30" required="required" title="Only letters allowed and between 3-30 characters" />
                                       
                                        <label for="email">Email <span>(required)</span></label>
                                        <input type="email" name="email" id="email" class="form-input" required="required" />
                                       
                                        <label for="subject">Subject <span>(optional)</span></label>
                                        <input type="text" name="subject" id="subject" class="form-input" />
                                       
                                        <!-- This field is for spam protection -->
                                        <label class="antispam" for="antispam">Don't fill up this field</label>
                                        <input type="text" name="antispam" class="antispam" />
                                       
                                        <label for="message">Message <span>(required)</span></label>
                                        <textarea name="message" id="message" class="form-input" data-minlength="4" required="required"></textarea>
                                       
                                        <input class="form-btn" type="submit" value="Send Message" />
                                       
                                        <p id="loading">Please Wait ...</p>
                                </form>

Any idea what I need to do to make it actually send stuff to me? any and all help is appreciated!

Matt Boldt 12-06-2012 04:20 AM

We'll need to see the PHP in your process-comment script.

Tkdmaster 12-06-2012 05:06 AM

Sadly that I think that's the problem... I searched the entirety of the template resources and that script is simply...not there :(

Matt Boldt 12-08-2012 10:27 PM

That's odd. Well, that PHP file does the bulk of the work when it comes to sending email. I'd search around for a ready-made plugin that can send form submissions to your email.

A popular library is SwiftMailer, but that requires some PHP coding to use.


All times are GMT +1. The time now is 08:35 AM.

Powered by vBulletin®
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.