Post

Create Simple Contact Form In Blogger

Okay, i will explain how Create Simple Contact Form In Blogger. Why is simple contact form?? because for create this contact form we don’t need third-party website. Talk Contact form is very important i think, cause function as correspondence and personal media. Although there are already many other media, however contact form page be choose for privacy guard between the two sides, That is blog/websiter owner and User Visitor.

Add Contact Form Widget To Blog

Before tide contact page on blogspot, you must add widget contact form on layout blogspot e.g layout page > add gadget > contact form and put in any place.

 

Then find code as follows and remove some parts and leaving like this :

td p { margin-bottom: 0in; direction: inherit; background: rgb(128, 128, 128) none repeat scroll 0% 0%; }p { margin-bottom: 0.1in; line-height: 120%; }a:link { }<b:widget id=’ContactForm1’ locked=’false’ title=’Contact Form’ type=’ContactForm’>
<b:includable id=’main’>
<< Remove this part >>
</b:includable>
</b:widget>
</b:section>
 

And now save your template.

Create Contact Us Page

For create contact us on your blog page, you can create new post or new page on blog whatever you want. If finish put this code to your new page or new post this bellow:

<form name=”contact-form”>
<span style=”color: #666666; font-family: Arial,Helvetica,sans-serif; font-weight: 700;”><i class=”fa fa-user”></i> Name </span>
<input id=”ContactForm1_contact-form-name” name=”name” size=”30” type=”text” value=”“>

<span style=”color: #666666; font-family: Arial,Helvetica,sans-serif; font-weight: 700;”><i class=”fa fa-envelope”></i> Email Address <span style=”color: #f56954; font-size: x-small; font-weight: bold;”>important</span></span>
<input id=”ContactForm1_contact-form-email” name=”email” size=”30” type=”text” value=”“>

<span style=”color: #666666; font-family: Arial,Helvetica,sans-serif; font-weight: 700;”><i class=”fa fa-pencil-square-o”></i> Content <span style=”color: #f56954; font-size: x-small; font-weight: bold;”>important</span></span>
<textarea cols=”25” id=”ContactForm1_contact-form-email-message” name=”email-message” rows=”5”></textarea>
<input id=”ContactForm1_contact-form-submit” type=”button” value=”Send”>
<div style=”max-width: 222px; text-align: center; width: 100%;”>
<div id=”ContactForm1_contact-form-error-message” class=”contact-form-error-message”>
</div>
<div id=”ContactForm1_contact-form-success-message” class=”contact-form-success-message”>
</div>
</div>
</form>

<style scoped=”style” type=”style”> #comments,.post_meta,#blog-pager {display:none;} #ContactForm1_contact-form-name, #ContactForm1_contact-form-email{ width:100%;height:auto;margin:5px auto;padding:10px;background:#fff;color:#444;border:1px solid #ddd;border-radius:3px;box-sizing:border-box;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;transition:all 0.5s ease-out;} #ContactForm1_contact-form-email-message{width:100%;height:175px;margin:5px 0;padding:10px;background:#fff;color:#444;font-family:’Open Sans’,sans-serif;border:1px solid #ddd;border-radius:3px;transition:all 0.5s ease-out;} #ContactForm1_contact-form-name:focus, #ContactForm1_contact-form-email:focus, #ContactForm1_contact-form-email-message:focus{outline:none;background:#fff;color:#444;border-color:rgba(81,203,238,1);box-shadow:0 0 5px rgba(81,203,238,0.7);} #ContactForm1_contact-form-submit {width:100%;font-family:’Open Sans’;float:left;background:#fff;color:#aaa;margin:10px auto;vertical-align:middle;cursor:pointer;padding:10px 18px!important;font-weight:700;font-size:14px;text-align:center;text-transform:uppercase;letter-spacing:0.5px;border-radius:3px;background-image: linear-gradient(110deg, #7986cb 0%, #7986cb 50%, transparent 50%, transparent 100%);background-size:200%;background-position:120% 0;background-repeat:no-repeat;border:1px solid #ddd;transition:all .8s ease, background-position .8s ease, color .8s ease;} #ContactForm1_contact-form-submit:hover {color:#fff;background-position:0 0;border-color:#7986cb;} #ContactForm1_contact-form-error-message, #ContactForm1_contact-form-success-message{ width:100%;margin-top:35px;} .contact-form-error-message-with-border {background:#f36c60;border:none;box-shadow:none;color:#fff;padding:5px 0;} .contact-form-success-message {background:#4fc3f7;border:none;box-shadow:none;color:#fff;} img.contact-form-cross {line-height:40px;margin-left:5px;} </style> <div style=”clear:both;”>
</div>

DEMO

This post is licensed under CC BY 4.0 by the author.