How add contact form to blogger
Sometimes your blog visitors have left a message in a comment, this is why adding a contact form to your blogger blog is necessary and you encourage to stay in touch with your readers. In this tutorial we will see how to create a contact page in blogger. Let's go
login to your Blogger.com account
click Layout in the left sidebar to get an option to add gadgets
choose More gadgets on the left side. Now you will see the contact form. Just add the same.
login to your Blogger.com account
click Layout in the left sidebar to get an option to add gadgets
choose More gadgets on the left side. Now you will see the contact form. Just add the same.
Add a contact form to Blogger
Search]]> </ b: skin>
Theme -----> Edit HTML code
Ctrl + F3 type the code]]> </ b: skin>
Div # ContactForm1 {display: none! Important; }
just before]]> </ b: skin>
Go to Pages and click on New page.
Contact us page configuration
Open the contact us page and type the code
Click save
<div dir="ltr" style="text-align: left;" trbidi="on">
<div class="widget ContactForm" id="custom_ContactForm1">
<div class="contact-form-widget">
Get in touch with us by filling out the form below.<br />
<div class="form">
<form name="contact-form">
Name <br />
<input class="contact-form-name" id="ContactForm1_contact-form-name" name="name" size="30" type="text" value="" /> <br />
Email <span style="font-weight: bolder;">*</span> <br />
<input class="contact-form-email" id="ContactForm1_contact-form-email" name="email" size="30" type="text" value="" /> <br />
Message <span style="font-weight: bolder;">*</span> <br />
<textarea class="contact-form-email-message" cols="25" id="ContactForm1_contact-form-email-message" name="email-message" rows="5"></textarea> <br />
<input class="contact-form-button contact-form-button-submit" id="ContactForm1_contact-form-submit" type="button" value="Send" /> <br />
<div style="max-width: 222px; text-align: center; width: 100%;">
<div class="contact-form-error-message" id="ContactForm1_contact-form-error-message">
</div>
<div class="contact-form-success-message" id="ContactForm1_contact-form-success-message">
</div>
</div>
</form>
</div>
</div>
<div class="clear">
</div>
<span class="widget-item-control"> <span class="item-control blog-admin"> <a class="quickedit" contactform1="" href="https://www.blogger.com/rearrange?blogID= 1234567890&widgetType=ContactForm&widgetId=ContactForm1&action=editWidget&sectionId=sidebar-right-1" onclick="return _WidgetManager._PopupConfig(document.getElementById(" target="configContactForm1" title="Edit"> <img alt="" height="36" src="//img1.blogblog.com/img/icon18_wrench_allbkg.png" width="36" /> </a> </span> </span> <br />
<div class="clear">
</div>
</div>
</div>
Change blogID = 1234567890 with this it from your blog
When creating the page, you must switch to HTML mode as shown in the image below. Then, paste the above code in the publication editor (after the correct edition), deactivate the comments and publish your page.
Click on the Publish button. Here is the result
Once the page is published, go to this new page, fill out the contact form, click on the Send button and check that it sends the email to all the administrators of the blog
Messages sent from this contact form will be sent to the administrator's email.
The code link used in the tutorial contact form to blogger
Comments
Post a Comment