July 28, 201214 yr Hello sir ! I am newbie working on a website. I bought a html template from themeforest and editing it according to my need. I stuck at the point of contact form . Below is the code in the template for it. Now how i change it ? Where did i put my email id so that it will send the message to my email directly. There is also a jquery file with the name of contact as well. Thanks Contact Form Code : <div class="contacts-bg-white"> <h3>Do you need help, support or advise?</h3> <p>Lorem ipsum dolor sit amet, verenam operibus furiam conclusoque sponte profundo. Conservus mihi esse haec aliquam inlido laetare quod eam ad per. Antiochia videns quia quod non ait est Apollonius non dum animae tertio eam ad te princeps ea docentur Hellenicus ut diem finito convocatis secessit.</p> <fieldset class="info_fieldset"> <div id="note"></div> <div id="contacts-form"> <form id="ajax-contact-form" action="javascript:alert('Was send!');"> <input type="text" name="name" required placeholder="Your Name" class="required" /> <input name="email" type="email" required class="last-item required" placeholder="Your Email" value="Your Email" /> <div class="clear"></div> <input type="text" name="url" placeholder="http://" /> <input type="text" name="subject" required placeholder="Subject" class="last-item required" /> <div class="clear"></div> <textarea name="message" id="message" required placeholder="Type your questions here..."></textarea> <input type="submit" class="submit no-margin-bottom" value="Send Message"/> <span></span> </form> <div class="clear"></div> </div> <!-- end #contact-form --> </fieldset> <div class="clear"></div> </div> -------------------------------------------- JS File code : jQuery.noConflict()(function(a){a(document).ready(function(){a("#ajax-contact-form").submit(function(){var b=a(this).serialize();a.ajax({type:"POST",url:"contact.php",data:b,success:function(c){a("#note").ajaxComplete(function(f,e,d){if(c=="OK"){result='<div class="notification_ok">Message was sent to website administrator, thank you!</div>';a("#contacts-form").hide()}else{result=c}a(this).html(result)})}});return false})})}); Edited July 28, 201214 yr by zed add Code tags
July 28, 201214 yr if you purchased it from Themeforest then you're best asking the author. And please use the tags when posting code.
July 28, 201214 yr It'll be in contact.php most likely. Either this ^^^ or what zed said. You've bought it from an author and they should supply install documentation.
Create an account or sign in to comment