Breaking News
Loading...
Saturday 22 March 2014

Add Blogger Contact Form to Specific Pages

After a few days back, we’re discussing on the Blogger contact form. In 2013, Blogger acquainted new gadgets for users. In initial days 2013, they released Wikipedia search box gadget and then official contact form for blogger. After updating the Blogger template editor, many teen-agers joined to Blogger and most of  existing users were engaging in Blogging daily basis. In a previous tutorial, I explained you how to control the contact form displaying posture in Blogger pages such as home page, static pages, archive pages and post pages. You know the importance of the contact form in various situations.
It has become an indispensable widget that every website and blog must have. The blogger contact form widget has some features such as working speedily (send message to email account of blog owner immediately), simple to work (no word confirmation) and littleness (can be used in whether fixed or fluid templates) etc.

A few weeks before, one of my friends on Facebook asked me that can I use blogger contact form widget in a post page or stand-alone page (static page). So this post is for you who intend to add a contact form in separate pages. Let's start embedding the official contact form widget into a stand-alone page in Blogger.

Add contact form widget to Blog


You should add the contact form widget so that launching it on a specific page. If you already have added it, please omit these steps and who don’t added official blogger contact us widget can follow below steps.

1: Sign in to your Blogger account and go to Layout.
2: Now click on  “Add a Gadget” link and “More Gadgets”.
3: Now find “Contact form” page element and click on it.
Contact-Form-Page-element

4: If you want to change the title of the contact form widget, so alter it. Then click on “Save” button.

Hide contact form widget in Blogger


The next work to do is hiding the official blogger contact form widget showing in the sidebar. So we have some methods to do it. One method is removing the contact form html code. Although one day when you want to show it again in the sidebar, you might be confused by asking “How do I  add removed contact form widget code to my blog?”. It is easy to add. But you have to do some works. So I will show you how you can hide contact form gadget using CSS. Whenever you want to show contact form, you just need to remove the piece of CSS code from  the template.

Now go to Template and click on the Edit HTML button.Then paste below code just above of]]></b:skin> code in the blogger template.

#ContactForm1
{
display: none ! important;
}

Add Contact form widget on a Static Page


Now we’re going to add the contact form widget to a stand-alone page. Follow below steps and make customization in the bottom of the steps.

1: Click on ‘Pages’ tab on the left hand side.
2: Now click on New page >> Blank page.

Static-Page


3: Switch to HTML mode and click on ‘options’ tab on the right side. Then select the “Use <br> tag” option in the Line Breaks section like below.

Line-Breaks


4: Now paste below code on the empty Edit HTML field.

<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>

Customization

  • Change highlighted words with relevant your own words.(i.e: for Your Email,Type your Email address)
  • Replace Required message instead of red color star symbols(*)( i.e: (required) )
  • Change Send with wished text to be shown on Submit button. 


5: Last Save your static page.

Troubleshooting : Blogger contact form Not working !


Some bloggers like mike complained that blogger contact form not working on their blogs. In some occasions 'Send' button does not work correctly and so message would not be sent. I have resolved the problem with embedded-Contact form on blogger post pages and stand alone pages.Please check out our demo page so that understanding blogger contact form works perfectly yet in blogger :)

Now let's look at how to trouble shoot this problem easily without confusing your mind.
  • Go to Template page and back up your template.
  • After doing that,click on 'Edit HTML' button and find contact form widget code.You can do this easily by clicking on 'Jump to Widget' drop down button and choosing on ContactForm1 id.Now you will see block of HTML code similar to below.
<form name='contact-form'>
        <p/>
        <data:contactFormNameMsg/>
        <br/>
        <input class='contact-form-name' expr:id='data:widget.instanceId + &quot;_contact-form-name&quot;' name='name' size='30' type='text' value=''/>
        <p/>
        <data:contactFormEmailMsg/> <span style='font-weight: bolder;'>*</span>
        <br/>
        <input class='contact-form-email' expr:id='data:widget.instanceId + &quot;_contact-form-email&quot;' name='email' size='30' type='text' value=''/>
        <p/>
        <data:contactFormMessageMsg/> <span style='font-weight: bolder;'>*</span>
        <br/>
        <textarea class='contact-form-email-message' cols='25' expr:id='data:widget.instanceId + &quot;_contact-form-email-message&quot;' name='email-message' rows='5'/>
        <p/>
        <input class='contact-form-button contact-form-button-submit' expr:id='data:widget.instanceId + &quot;_contact-form-submit&quot;' expr:value='data:contactFormSendMsg' type='button'/>
        <p/>
        <div style='text-align: center; max-width: 222px; width: 100%'>
          <p class='contact-form-error-message' expr:id='data:widget.instanceId + &quot;_contact-form-error-message&quot;'/>
          <p class='contact-form-success-message' expr:id='data:widget.instanceId + &quot;_contact-form-success-message&quot;'/>
        </div>
      </form>


  • Remove above code and Save your template.
  • You're done!

Need Help… ?

I have discussed about Blogger contact form in my previous posts. This is another Blog trickto add  a contact form widget in separate pages. If you encountered any problem, leave here a comment to know us. Also if you need to know how to make a contact form using Google Docs, So below tutorial will help you to make your own contact form.

0 comments:

Post a Comment

 
Toggle Footer