Skip to content
View in the app

A better way to browse. Learn more.

Web Designer Forum

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Contact Form

Featured Replies

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 by zed
add Code tags

if you purchased it from Themeforest then you're best asking the author.

 

 

And please use the

 tags when posting code.

Create an account or sign in to comment

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.