Thursday 2 April 2015

How to add a contact form in Blogger blog in a satic page without using any third party service

Adding contact form in blogger static page.

Three steps process:

1. Add contact fomr
2. Hide contact form from sidebar
3. Add HTML code in a blogger static page to show the contact form


► Step 1

Adding contact form

1. Go to layout
2. Add a contact fomr
3. Save arrangement

The contact form has been added to the sidebar.

► Step 2

We will be hiding the contact form from sidebar.

1. Go to Template
2.  Do a Ctrl + F and search for ]]></b:skin>
3. Right above that add the below code

#ContactForm1
{
display: none! important;
}

4. Save template

Note: Backup your template before making changes to the template.


► Step 3

1. Add a new static page
2. Click the HTML view and add the below code

<form name="contact-form">
<p></p>
Your Name:<br />
<input class="contact-form-name" id="ContactForm1_contact-form-name" name="name" size="30" value="" type="text" />
<p></p>
Your Email:
<span style="font-weight: bolder;color:red;">*</span><br />
<input class="contact-form-email" id="ContactForm1_contact-form-email" name="email" size="30" value="" type="text" />
<p></p>
Your Message: <span style="font-weight: bolder;color:red;">*</span><br />
<textarea class="contact-form-email-message"  id="ContactForm1_contact-form-email-message" name="email-message" cols="25" rows="5"></textarea>
<p></p>
<input class="contact-form-button contact-form-button-submit" id="ContactForm1_contact-form-submit" value="Send" type="button" />
<p></p>
<div style="text-align: center; max-width: 222px; width: 100%">
<p class="contact-form-error-message" id="ContactForm1_contact-form-error-message"></p>
<p class="contact-form-success-message" id="ContactForm1_contact-form-success-message"></p>
</div>
</form>



3. Save and publish the page.

Note: Make sure under options the  line break is set to <br> tag and not Enter.


That's it!


[Codes: source]

25 comments:

  1. thank u so much

    ReplyDelete
  2. Hello brother is want your help regarding my blogs,where I contact to you.

    ReplyDelete
  3. Hello brother is want your help regarding my blogs,where I contact to you.

    ReplyDelete
  4. its really helpful thanks:)

    ReplyDelete
  5. finally a small doubt where can i find contact us form in my blog after doing this?

    ReplyDelete
  6. thakns a lot...brother

    ReplyDelete
  7. This comment has been removed by the author.

    ReplyDelete
  8. thnks a lot ... https://traveller00007.blogspot.in this is my blog can u suggest me what else to improve in this blog

    ReplyDelete
  9. Thanks, you made it very easy to understand

    ReplyDelete
  10. Thanks man your vedio is very good

    ReplyDelete
  11. This comment has been removed by the author.

    ReplyDelete
  12. This comment has been removed by the author.

    ReplyDelete
  13. Thanks a lot bro for your good work. However, will the message be delivered straight to my registered email address?

    ReplyDelete
  14. Hi bro. This is worked. But from now these days. Medsages shows sent. But not getting in gmail. Check all spam folders too. Not recieving. Im using blogspot.com. is only custom domain only recieves notification in gmail. Please reply. I tested so many times. Not getting mail

    ReplyDelete