Go Back   CodingForums.com > :: Client side development > HTML & CSS

Before you post, read our: Rules & Posting Guidelines

Reply
 
Thread Tools Rate Thread
Enjoy an ad free experience by logging in. Not a member yet? Register.
Old 12-05-2012, 02:43 AM   PM User | #1
Tkdmaster
New to the CF scene

 
Join Date: Dec 2012
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Tkdmaster is an unknown quantity at this point
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!
Tkdmaster is offline   Reply With Quote
Old 12-06-2012, 04:20 AM   PM User | #2
Matt Boldt
New Coder

 
Join Date: Jul 2009
Posts: 28
Thanks: 2
Thanked 3 Times in 3 Posts
Matt Boldt is an unknown quantity at this point
We'll need to see the PHP in your process-comment script.
Matt Boldt is offline   Reply With Quote
Old 12-06-2012, 05:06 AM   PM User | #3
Tkdmaster
New to the CF scene

 
Join Date: Dec 2012
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Tkdmaster is an unknown quantity at this point
Sadly that I think that's the problem... I searched the entirety of the template resources and that script is simply...not there
Tkdmaster is offline   Reply With Quote
Old 12-08-2012, 10:27 PM   PM User | #4
Matt Boldt
New Coder

 
Join Date: Jul 2009
Posts: 28
Thanks: 2
Thanked 3 Times in 3 Posts
Matt Boldt is an unknown quantity at this point
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.
Matt Boldt is offline   Reply With Quote
Reply

Bookmarks

Jump To Top of Thread


Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 10:18 AM.


Advertisement
Log in to turn off these ads.