Updated (Dec 21, 2021): The code has been updated and the form is working and submitting as expected.
In the previous tutorial, I showed you how to add Blogger’s official contact form to your Blogger blog. You can also add Blogger contact form into a page of your Blogger website. It will work absolutely fine and it will not break anything. Let me show you how:
Note: In order to add contact form to a page, you first need to add the contact form widget to the sidebar of your Blogger.
Hiding Contact Form From Your Sidebar
First, we need to hide the default contact form from your Blogger’s sidebar widget. Navigate to your Dashboard > Template > Edit HTML. Search and paste this code just above ]]></b:skin>:
#ContactForm1{
display: none !important;
}
Code language: CSS (css)
Save your template.
Adding Contact Form To A Page
Now, we will add the contact form to a static page of your Blogger blog. Navigate to your Dashboard > Posts, and click on New Page and select Blank Page.
Now, in your blank page, click on HTML option to switch to HTML editor mode. Add following code and publish your page:
<form name='contact-form'>
<p></p>
Name<br />
<input class='contact-form-name' id='ContactForm1_contact-form-name' name='name' size='30' value='' type='text' />
<p></p>
Email
<span style='font-weight: bolder;'>*</span><br />
<input class='contact-form-email' id='ContactForm1_contact-form-email' name='email' size='30' value='' type='text' />
<p></p>
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>
<p></p>
<input class='contact-form-button contact-form-button-submit' id='ContactForm1_contact-form-submit' value='Send' type='submit' />
<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>
Code language: HTML, XML (xml)
That’s it! You can also customize the contact form with custom CSS styling or jQuery.
Thanks
hey hardeep i want to add differnt buttens in my blogs like contact us , categories, tools …. but dont know how to .. so can you plz plz plz help me ..
You can do it from Widget and Template section of your Blogger.
I can’t hide the contact widget I got some letters on the top header when I paste the code :(
Try to do it again. I guess there was just a minor error on this article, which possibly led to that error :)
Why hide the widget? Does the contact form on a page not work if you don’t have the widget added on a sidebar? Why not just DON’T add the widget to the sidebar. I don’t understand.
I never tried it but I guess adding code without the widget wouldn’t work. Please correct me if I’m wrong :)
where is messege send? i do not find it anywhere,
The admin of that blog will receive the message on its inbox.
Hi Hardeep,
First time I’m using blogger platform and finally I reached your site where I got how to add contact form in blogspot.
Thank’s for sharing
Everything worked and the page is there. But I tested it and I am not receiving emails.
Please help!
Give me the link to your contact page…
send button is not working?
ı m not recieve mails
I tried the same code on a test blog and it’s perfectly working.
thanks !
i tried using the widget but , send button is not working…don’t know where query is going..chek that form in the website link.
(link removed)
Used it and it worked. That check email associated with your Blogger for the message.
yes..got the query after 4 hours..don’t know what the issue is..I have added a Mobile field in the form, but its data is not coming in the form..can you please check this also..thanks
You can’t use any extra fields.
Hi Hardeep,
Can your remove my previous comment. I have redirected blog to a website, so its giving problem. I would be thankful if you can remove my previous comment given as :
“annu
ON AUGUST 28, 2014 01:57:45
i tried using the widget but , send button is not working…don’t know where query is going..chek that form in the website link.
(link removed)”
and this one also because link has got repeated again.
I have edited both of comments and removed links from them :)
thanks :)
helo i am M.ameer sir i am not anderstand pleas contact me and mobile coll pleas my sell +92xxxxxxxxxx
Sorry, but don’t put your phone number in the comments section. If you want help then you can explain your problem here. If you want to hire someone to do this job for you, then visit this page: http://www.trickspanda.com/hire/
Hello Hardeep
send button not working here pls suggest me how can i fix it.
page Link:- http://websitemethod.blogspot.in/p/contact-us.html
Try to remove replace code of entire page with the code of that form.
how would I receive the messages sent to me with this contact form?
Site admins will receive all the messages on their Gmail associated with that Blogger blog.
Thanks so much for sharing! Worked perfectly!
nice little ninja trick there. i like these sneaky work-arounds.
fyi, you can safely delete the classes from the inputs so they don’t inherit the css from blogger. beats overriding all of their styles.
i have not figured out how to keep the javscript from changing the send button.
oh, and be sure to add label tags and change the email field input type to email.
yahooOoOoOo!!! It worked, thanks bro for such tutorial. gonna book mark your site ;) :*
it works…thanks!
I Tryd, and i have a contact form now, but it’s not working. I’m clicking on the send button, but it does nothing. I’m looking in my gmail inbox but also there, nothing. Help? Thanks …
It works, Thanks!
Thanks!!!
It works fine on everything just that when I received email , the subject, country doesn’t show in email ..may I know why is it happened ?
Sorry but you can’t add any additional fields to that form. Blogger doesn’t allow that.
Hi. Will this work in a Dynamic View template? Thanks!
Yes, it should work :)
hi hardeep.
not working in my blog :( can you please check my blog >> http://utajiri.blogspot.com
thanks!
Have you added the widgets to the website first?
yes i did. when send button is pressed nothing happens.
i follow your steps..its working on normal blog like testblog.blogspot.com..
but not working with custom domain..i was tested on 2 custom domains but no result..i was tested on to blogger blogs, it was working fine…y contact form not working with custom domain? please help me
It has nothing to do with the custom domains. It’s working fine on bwidgets.com :)
Hi Hardeep,
This has worked fine for emails sent from computers but I’ve tried sending an email using my contact form page from 2 smart phones and it has not worked.
Should the contact form be able to work on mobile devices as well as computers?
I’m using the default mobile format.
My contact form page is http://amandalillywhite.blogspot.co.uk/p/blog-page.html
Thanks
Amanda
Hi Hardeep,
An update on my earlier message.
I switched from default mobile format to desktop template on mobile devices and the contact form page now works on my smart phone.
I’d be interested to know if it possible to fix the contact form so that it works in default mobile format but I am grateful for your information about to get it on a page and will send a donation.
Amanda
Hey Amanda,
First of all, thanks for the donation :)
Second, it appears to me that Blogger doesn’t load JS we need to trigger the contact form, so that’s why it doesn’t work on mobile devices. Using a responsive theme will solve this issue :)
Greetings from England.
I’ve followed your instructions exactly. All looks the way you describe. But no messages are arriving – it’s been over a day since I sent a couple of test messages via my contact page.
Yes, I have the contact widget hidden.
Yes I have a custom domain.
Any help appreciated.
Can you try to see if the widget is working with adding it to the page?
Hi, Contact form worked very well until a add a photo in my page. Now I deleted the page and create a new only with your html code and it dosn’t work too… I don’t understand
Hi Frederico,
Please visit the HTML editor and clear everything out, and try again :)
Happy Holidays :)
Hi Hardeep,
I’m not receiving emails from the contact form. My admin email is setup to gmail. I’ve tested it multiple times and nothing sends.
http://www.morethanjustaprettyface.us/p/blog-page_1.html
Please post the code in the HTML mode and publish the page without even toggling to the Visual Editor :)
Hardeep Bro,
I Got What I Want Without any problem thanks a lot
Hi thanks for your tutorial but i tested it and the message didn’t send to my email?
worked. but i dont recieve any mails, what am i doing wrong?
See this video
Here you can learn How to embed contact form in static page . By seeing this video you can do it very easily
…
https://youtu.be/msVyu1yAXj0
it’so nice and easy Just copy and past
Hello i need your help
you save my life
This worked perfectly. Thank you so much!
The easiest way to add a contact us page to blogger is use a form backend service like https://fabform.io
I have thought of using a form backend service. I played around with several of them, but haven’t decided on which one I like best. Why fabform and not some other solution?
the form is nice but it doesn’t send any email, please help
How To Add Blogger Contact Form (HTML Code) Into A Page
i tired this but i would not receive any message in my gmail when my client try to contact me
help help me out
Email send perfectly. Thank you!