How to Create a Contact Form For a WordPress Site.

Like I promised earlier, we aren’t going to code, rather we will use plugins. The plugins we are going to use is called WPforms Lite.

I used this plugin because it is robust and has basic features for beginners. Also, it is easy to migrate to the pro version. So in the future, I will migrate to pro without any deactivating and reactivating. Top of it, it is free.

Let us go straight to our dashboard, Click plugins and then select Add New

Very close to the keyword icon as shown it the diagram above, type in WPForms; click on the first item. It should carry this title – Contact Form by WPForms – Drag and Drop form builder for WordPress. See below

After installation and activation of the WPform plugin, it is time to create your contact form. Let us go to the WPform menu on the dashboard. Select Add New

This will initiate the process of creating the contact form. The first thing is to name your form. Making it simple I always call mine contact us. In here are templates you can take advantage of and build your form.

Make it as simple as possible, I go for the “simple contact form”.

In a case you want to add fields, there are options to the right from where you can select. Now feel free and use the save button.



Join the Discussion
Write something…
Recent messages
AndyN1 Premium
Hi Ayodeji
Thanks for another excellent instruction. I have been trying to set this up but I haven't got the email to work yet. I tried to use my Gmail address but they blocked that for security reasons. My preferred solution would be to use the email address that is associated with my site. So on Wordpress. Does anyone know how to set that up?
Reply
Parameter Premium
Glad you found it usefull

Have you been able to set it up now?
If not, I will be glad to help you out, kindly let me know where you are having issues

Ayodeji
Reply
AndyN1 Premium
Hi Ayodeji
Thanks for your offer to help.
I am trying to setup a Contact us form on my site and have all emails routed to the main email address I use on my domain. (andy at etc)
Just in case I also setup an email forward from admin toandy at etc. And tested that and it works.
I installed both WP Forms and WP Mail SMTP plugins.
I set up a Contact Us form following your instructions and added it as a widget on my sidebar.
I've setup the SMTP plugin with the andy at etc email address and sent a test email and it works.
I've used the SMTP settings from the WP email using the Outgoing mail settings.
When I fill in and submit a test message using the form I have setup with another Gmail address of mine - I don't get either an email to the email andy at etc, nor a confirmation or error message to my Gmail address. Here are some screenshots that might show you what I am doing.
Any help would be most gratefully received.
Best regards
Andy
Reply
Parameter Premium
,

Great Andy, so glad you are still trying your hands on it.

I will take a look at it, I believe we can work together and solve any riddle.

But do give me some time I will revert

Ayodeji
Reply
AndyN1 Premium
Hi Ayodeji
I think I may have fixed it.
I was wondering how the connection between the Form I created and the WP Mail SMTP plug in was set up. So I looked in the form settings for general and notifications. Here is what I found.

I thought I should change the email from settings. So I did as per screenshot 06. And now it works. I received the email notification to andyat etc and I received a confirmation email to the Gmail address I was trying to contact with.

So I think it is now working.

Please do let me know if there is anything I got wrong and would be advised to change.

Thanks again
Best regards
Andy
Reply
Parameter Premium
,

Wahoo, I am so encouraged with the way you looked at this issue. All the while I have used my primary email. I never thought of using another email.
The moment it passes the email test, then you are good to go.

Another thing you can is ask a friend to use the contact form. so that you can be double sure, it works

You have just spurred me up to get back to work and conclude on the last 2 issues I intended to develop a training around.

Thank you once again

Ayodeji
Reply
AndyN1 Premium
Yes. I think I just had to play with it a little more to work out how to set it up. A bit of a process of trial and error.
Thanks again and best regards
Andy
Reply
weixiangW Premium
Thank you for creating this training, but I got a problem in the last step. I ran an email test and it said "There was an error while sending the test email". I double checked every item including the password. Every thing is correct but it just can't run the test. How should I solve this?
Reply
Parameter Premium
,

Glad you tried it out.

Do check your email box, I mean Gmail, outlook or yahoo.

Your box may be seen it is as strange mail. Thus you will get a notification asking you to authentic such mails.
Then you can follow d instructions. After which u can text emails again.

Pls cross check the smtp settings properly, ensure it is correct
Reply
weixiangW Premium
Thank you for the advice. I have solved my problem using different methods, but I'll try yours in the next time.
Reply
weixiangW Premium
Thank you for the instructions. I have solved my problem now. I used Gmail so I enabled "less secure apps" in google account settings, and it worked. I recommend you add this method into your training course so others having the same problem may be relieved quicker.
Thanks again for your training. It's very informative and useful.
Reply
Parameter Premium
Wahoo!!

You honestly made my day.

I will update the training and add how to resolve the email deliverability issue.

Ayodeji
Reply
OCH3943 Premium Plus
Hi Henry / Ayodeji, may I know where do I find this google account settings?
Reply
Parameter Premium
Hello Richard,

If you are referring to the SMTP settings, you will see it on Lesson 5 of this training.

Thank you

Ayodeji
Reply
OCH3943 Premium Plus
Hi Ayodeji, it didn't work for me unfortunately.
Reply
Parameter Premium
How,

where did you get stock?

Can we work through it together?

Ayodeji
Reply
OCH3943 Premium Plus
The problem I am facing is when I tried to use Gmail to receive notifications. From what I have read, I need to create a Google API and the process seems a bit harder.

I found the below resource but haven't got to work on it.

https://www.wpbeginner.com/plugins/how-to-send-email-in-wordpress-using-the-gmail-smtp-server/

I solve the problem by using my website domain email instead. But it would be useful to document how to set up using the gmail method.

It would be useful for many of us if you can help to update your tutorial or have a separate tutorial on this setup?
Reply
Parameter Premium
Thank you for your suggestions.
Reply
OCH3943 Premium Plus
Thank you Ayodeji
Reply
lesabre Premium
Hi Owoeye, thank you for sharing this lesson. Much appreciated.

All the best,
Michael
Reply
Parameter Premium
,

You welcome Michael

Ayodeji
Reply
JossLandry Premium
Thank you, thank you, Ayodeji. From me who is now attempting to build a website with content and the proper forms, I am grateful you wrote this blog. How did you know? Anyway, I have saved your post since I have to work this morning, but will dig into it later today.
Can I write to you if I have a question?
Have a great day.
Reply
Parameter Premium
,

I am glad you found it useful. I look forward to reading from on your enquiries

Thank you

Ayodeji
Reply
Top