{"id":140773,"date":"2015-05-13T08:00:34","date_gmt":"2015-05-13T08:00:34","guid":{"rendered":"http:\/\/premium.wpmudev.org\/blog\/?p=140773"},"modified":"2019-08-23T04:32:43","modified_gmt":"2019-08-23T04:32:43","slug":"build-contact-form","status":"publish","type":"post","link":"https:\/\/wpmudev.com\/blog\/build-contact-form\/","title":{"rendered":"How To Build Your Own WordPress Contact Form in 5 Minutes for Free"},"content":{"rendered":"<p>Every website NEEDS a contact form. Whether you\u2019re selling products or services, or you\u2019re running an informational blog, your website needs to have an easy way for anyone to contact you. That\u2019s where a contact form comes in handy!<\/p>\n<p>In this post, you\u2019ll learn how to build your own contact form and add it to your WordPress website. All without touching a single line of code, in under 5 minutes. And completely for free.<\/p>\n<p>We\u2019ll be doing this using <a href=\"https:\/\/wordpress.org\/plugins\/forminator\/\" rel=\"noopener\" target=\"_blank\">Forminator<\/a>, the easiest form maker plugin for WordPress.<\/p>\n<p>Prefer a video instead? We&#8217;ve got you covered.<\/p>\n<p><span class=\"embed-youtube\" style=\"text-align:center; display: block;\"><span class=\"embed-youtube-lazy-id dev-hidden\">JiBEJWe2xg4<\/span><\/span><\/p>\n<p>Now, before we get started&#8230;<\/p>\n<h2>Why Have a Contact Form At All?<\/h2>\n<ol>\n<li>They can act as an easy first point of contact between you and your clients\/readers.<\/li>\n<li>Users on the net have very short attention spans, and contact forms are a quick and easy way to get in touch with you.<\/li>\n<li>They help reduce spam, since your email address is not exposed publicly. It blocks spammers from harvesting your email address through bots.<\/li>\n<li>You get to define the input fields in your contact form, thereby controlling what type of information you get from users and ensuring that it\u2019s consistent across all the entries received.<\/li>\n<li>They\u2019re the best and most cost effective way of generating leads.<\/li>\n<\/ol>\n<blockquote><p>\u201c74% of marketers are using web forms for lead generation, and 49.7% of marketers say that web forms are their highest converting lead generation tool.\u201d<br \/>\n\u2014 <a href=\"https:\/\/blog.hubspot.com\/marketing\/state-of-email-lead-capture\" rel=\"noopener\" target=\"_blank\">HubSpot Report<\/a><\/p><\/blockquote>\n<p>Convincing enough? Now let\u2019s move on to the more practical stuff!<\/p>\n<h2>Step 1: Installing Forminator<\/h2>\n<p>First, let\u2019s install Forminator by going to <em>WordPress Dashboard &gt; Plugins &gt; Add New Plugins<\/em>. Search for <em>Forminator <\/em>here, click the <em>Install Now<\/em> button and wait for it to finish. Once done, press the <em>Activate <\/em>button.<\/p>\n<p><strong>Note:<\/strong> If you prefer manual to automatic, you can also <a href=\"https:\/\/wordpress.org\/plugins\/forminator\/\" rel=\"noopener\" target=\"_blank\">download Forminator directly from the WordPress repo<\/a> and upload it to your site.<\/p>\n<div  class=\"wpdui-pic-regular  \"> <img loading=\"lazy\" decoding=\"async\" class=\"attachment-600x600 size-600x600\" src=\"https:\/\/wpmudev.com\/blog\/wp-content\/uploads\/2015\/05\/Install-Forminator-Plugin-WordPress-Dashboard.png\" alt=\"Post image\" aria-hidden=\"true\" width=\"600\" height=\"307\" \/> <\/div>\n<p>WPMU DEV members can also install Forminator Pro quickly through their WPMU DEV dashboard.<\/p>\n<div  class=\"wpdui-pic-regular  \"> <img loading=\"lazy\" decoding=\"async\" class=\"attachment-600x600 size-600x600\" src=\"https:\/\/wpmudev.com\/blog\/wp-content\/uploads\/2015\/05\/Install-Forminator-Plugin-WPMUDEV-Dashboard.png\" alt=\"Post image\" aria-hidden=\"true\" width=\"600\" height=\"177\" \/> <\/div>\n<h2>Step 2: Creating Your Contact Form<\/h2>\n<p>Now that we have Forminator installed and activated, it\u2019s time to create your contact form.<\/p>\n<p>To do that, go to <em>Forminator &gt; Forms<\/em> and press the blue <em>Create<\/em> button. Alternately, you can also do this directly via Forminator\u2019s dashboard.<\/p>\n<div  class=\"wpdui-pic-regular  \"> <img loading=\"lazy\" decoding=\"async\" class=\"attachment-600x600 size-600x600\" src=\"https:\/\/wpmudev.com\/blog\/wp-content\/uploads\/2015\/05\/Create-Form-Button-Forminator.png\" alt=\"Post image\" aria-hidden=\"true\" width=\"600\" height=\"324\" \/> <\/div>\n<p>Once you click the <em>Create<\/em> button, a popup will appear wherein you must enter your new form\u2019s name. Keep it memorable so that you can recall it later. Don\u2019t fret, you can change the form name later if needed.<\/p>\n<div  class=\"wpdui-pic-regular  \"> <img loading=\"lazy\" decoding=\"async\" class=\"attachment-600x600 size-600x600\" src=\"https:\/\/wpmudev.com\/blog\/wp-content\/uploads\/2015\/05\/Enter-Form-Name-Forminator.png\" alt=\"Post image\" aria-hidden=\"true\" width=\"600\" height=\"324\" \/> <\/div>\n<p>After entering your form\u2019s name, hit the blue <em>Create<\/em> button again.<\/p>\n<p>Your new form is now created. Every form in Forminator comes with 4 default input fields: <em>First Name, Email Address, Phone Number, <\/em>and <em>Message<\/em>. These input fields are good enough for a basic contact form, so we\u2019re right on the button here.<\/p>\n<div  class=\"wpdui-pic-regular  \"> <img loading=\"lazy\" decoding=\"async\" class=\"attachment-600x600 size-600x600\" src=\"https:\/\/wpmudev.com\/blog\/wp-content\/uploads\/2015\/05\/Default-Form-Fields-Forminator.png\" alt=\"Post image\" aria-hidden=\"true\" width=\"600\" height=\"318\" \/> <\/div>\n<p>The <em>First Name<\/em> and <em>Email Address<\/em> fields are marked as required by default. This is highlighted by a red asterisk symbol (*) beside them.<\/p>\n<p>You can set whether an input field is <em>Required<\/em> or <em>Optional<\/em>. Let\u2019s set the <em>Message<\/em> field as <em>Required<\/em> so that the form doesn\u2019t submit if it\u2019s left blank by the user.<\/p>\n<p>To do that, click on the <em>Message<\/em> field, and then in the popup head over to its <em>Settings<\/em> tab. Under here, select the <em>Required<\/em> option. Once selected, an additional <em>Error message<\/em> option will open underneath. Here you can enter the error message that the user sees if they leave this field blank.<\/p>\n<div  class=\"wpdui-pic-regular  \"> <img loading=\"lazy\" decoding=\"async\" class=\"attachment-600x600 size-600x600\" src=\"https:\/\/wpmudev.com\/blog\/wp-content\/uploads\/2015\/05\/Field-Required-Settings-Tab.png\" alt=\"Post image\" aria-hidden=\"true\" width=\"566\" height=\"600\" \/> <\/div>\n<p>Save the changes and preview the form to make sure that it looks picture perfect.<\/p>\n<div  class=\"wpdui-pic-regular  \"> <img loading=\"lazy\" decoding=\"async\" class=\"attachment-600x600 size-600x600\" src=\"https:\/\/wpmudev.com\/blog\/wp-content\/uploads\/2015\/05\/Form-Preview-Forminator.png\" alt=\"Post image\" aria-hidden=\"true\" width=\"600\" height=\"507\" \/> <\/div>\n<p>You\u2019ve finished configuring your form\u2019s layout now. It\u2019s now time to move on to its settings.<\/p>\n<h2>Step 3: Configuring Form Appearance and Behavior Settings<\/h2>\n<p>Forminator also lets you edit and configure your form\u2019s appearance to the smallest details.<\/p>\n<p>Under the <em>Appearance <\/em>settings, you can set various parameters such as the form\u2019s style, color, fonts, paddings, border, and pagination styles if any. Additionally, you can also add any custom CSS styles here for advanced customization.<\/p>\n<div  class=\"wpdui-pic-regular  \"> <img loading=\"lazy\" decoding=\"async\" class=\"attachment-600x600 size-600x600\" src=\"https:\/\/wpmudev.com\/blog\/wp-content\/uploads\/2015\/05\/Form-Appearance-Styles-Forminator.gif\" alt=\"Post image\" aria-hidden=\"true\" width=\"600\" height=\"285\" \/> <\/div>\n<div  class=\"wpdui-pic-regular  \"> <img loading=\"lazy\" decoding=\"async\" class=\"attachment-600x600 size-600x600\" src=\"https:\/\/wpmudev.com\/blog\/wp-content\/uploads\/2015\/05\/Form-Appearance-Colors-Fonts-Padding-Borders.png\" alt=\"Post image\" aria-hidden=\"true\" width=\"600\" height=\"359\" \/> <\/div>\n<p>Likewise, the <em>Behavior <\/em>settings allow you to set what happens after the form is submitted. You have options to hide the form, display a custom message, or redirect your users to a different page.<\/p>\n<div  class=\"wpdui-pic-regular  \"> <img loading=\"lazy\" decoding=\"async\" class=\"attachment-600x600 size-600x600\" src=\"https:\/\/wpmudev.com\/blog\/wp-content\/uploads\/2015\/05\/Behavior-Settings-Forminator.png\" alt=\"Post image\" aria-hidden=\"true\" width=\"600\" height=\"281\" \/> <\/div>\n<p>For this basic contact form, we can leave the default <em>Appearance<\/em> and <em>Behavior<\/em> settings as is.<\/p>\n<h2>Step 4: Setting Email Notification Settings<\/h2>\n<p>Forminator also lets you configure and send automated emails to users who filled out the form and\/or to you (the admin). Both these emails can be fully customized with a Subject, Body text, etc.<\/p>\n<p>You can even include the form fields data in these emails with handy shortcodes.<\/p>\n<p>Through the advance email delivery settings, you can configure the email sender\u2019s name and address, the reply address, and any CC\/BCC addresses.<\/p>\n<div  class=\"wpdui-pic-regular  \"> <img loading=\"lazy\" decoding=\"async\" class=\"attachment-600x600 size-600x600\" src=\"https:\/\/wpmudev.com\/blog\/wp-content\/uploads\/2015\/05\/Email-Notifications-Settings-Forminator.gif\" alt=\"Post image\" aria-hidden=\"true\" width=\"600\" height=\"325\" \/> <\/div>\n<p>Once you\u2019re finished with the <em>Email Notifications<\/em> settings, it\u2019s time to hit the blue <em>Publish<\/em> button on the top right.<\/p>\n<div  class=\"wpdui-pic-regular  \"> <img loading=\"lazy\" decoding=\"async\" class=\"attachment-600x600 size-600x600\" src=\"https:\/\/wpmudev.com\/blog\/wp-content\/uploads\/2015\/05\/Publish-Form-Forminator.png\" alt=\"Post image\" aria-hidden=\"true\" width=\"600\" height=\"281\" \/> <\/div>\n<p>You\u2019ll be presented with a popup containing the new form\u2019s shortcode. You can copy this to embed the form in a widget, a template, or a page (if you\u2019re using the classic WordPress editor). Else, you can just ignore this now.<\/p>\n<div  class=\"wpdui-pic-regular  \"> <img loading=\"lazy\" decoding=\"async\" class=\"attachment-600x600 size-600x600\" src=\"https:\/\/wpmudev.com\/blog\/wp-content\/uploads\/2015\/05\/Form-Shortcode-Forminator.png\" alt=\"Post image\" aria-hidden=\"true\" width=\"600\" height=\"361\" \/> <\/div>\n<p>Congrats, you just created your contact form.<\/p>\n<h2>Step 5: Adding the Form to Your Site<\/h2>\n<p>It\u2019s now time to add the contact form you just created to your website. A contact page is the most appropriate place to add this form.<\/p>\n<p>So, let\u2019s head over to our contact page\u2019s editor, click the <em>Add Block <\/em>button and insert the <em>Form<\/em> block from the list. Once inserted, just select a form from the dropdown list and it\u2019ll be auto-inserted for you.<\/p>\n<div  class=\"wpdui-pic-regular  \"> <img loading=\"lazy\" decoding=\"async\" class=\"attachment-600x600 size-600x600\" src=\"https:\/\/wpmudev.com\/blog\/wp-content\/uploads\/2015\/05\/Inserting-Contact-Form.gif\" alt=\"Post image\" aria-hidden=\"true\" width=\"600\" height=\"291\" \/> <\/div>\n<p>Once finished, <em>Update<\/em> or <em>Publish<\/em> the page. Head over to your contact page to confirm that it looks and behaves properly.<\/p>\n<p>And that\u2019s it! You now know how to build your own simple contact form in WordPress.<\/p>\n<p>You can build on top of this and take your form to the next level. Forminator is completely expandable, letting you extend your form\u2019s features as you like.<\/p>\n<h2>Viewing Submissions and Adding Third-Party Integrations<\/h2>\n<p>Forminator stores all the form submissions in an easy-to-access database. Here, you can view\/manage\/export all submissions you\u2019ve received.<\/p>\n<div  class=\"wpdui-pic-regular  \"> <img loading=\"lazy\" decoding=\"async\" class=\"attachment-600x600 size-600x600\" src=\"https:\/\/wpmudev.com\/blog\/wp-content\/uploads\/2015\/05\/View-Submissions-Contact-Form.png\" alt=\"Post image\" aria-hidden=\"true\" width=\"600\" height=\"247\" \/> <\/div>\n<p>In case you want to connect your form with third-party applications, Forminator also supports integrations with your favorite apps like MailChimp, Zapier, Trello, AWeber, Slack, ActiveCampaign, Google Sheets, and Campaign Monitor.<\/p>\n<p>If you want to learn more about how integrations work, <a href=\"https:\/\/wpmudev.com\/docs\/wpmu-dev-plugins\/forminator\/\" target=\"_blank\" rel=\"noopener\">the Forminator docs<\/a> are a great place to start.<\/p>\n<h2>Extra Credits: Other Considerations<\/h2>\n<p>And that\u2019s not all Forminator does. You can set reCAPTCHA to reduce spam entries, make your contact form <a href=\"https:\/\/wpmudev.com\/blog\/web-privacy-wordpress-gdpr-compliance\/\" target=\"_blank\" rel=\"noopener\">GDPR compliant<\/a>, redesign your form\u2019s layout and style to the minutest details, and much much more!<\/p>\n<p>Want even more? <a href=\"https:\/\/wpmudev.com\/project\/forminator-pro\/\" target=\"_blank\" rel=\"noopener\">Forminator\u2019s Pro version<\/a> is packed full of extra features that\u2019ll impress you even greater. And don\u2019t forget to <a href=\"https:\/\/wpmudev.com\/roadmap\/#wpmud-roadmap-product-forminator171\" target=\"_blank\" rel=\"noopener\">view our roadmap<\/a> to know the awesome updates we\u2019ve lined up for it in the near future.<\/p>\n<h2>Easy Powerful Forms for All<\/h2>\n<p>We created Forminator with a single goal in mind: to be the easiest yet most feature-rich form plugin for WordPress. Whether you want to create a simple contact form or <a href=\"https:\/\/wpmudev.com\/blog\/how-to-build-order-forms-with-payments-for-free-in-wordpress\/\" target=\"_blank\">a complex order form with payment collection<\/a>, Forminator can handle them all with no sweat.<\/p>\n<p>With Forminator, you can start building forms in minutes. No coding knowledge required whatsoever!<\/p>\n<p>So, what are you waiting for? New opportunities await. Get started!<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Having a contact form on your site is a must. Learn why that&#8217;s the case and how to add one to your site using code or a plugin right here. <\/p>\n","protected":false},"author":761786,"featured_media":177422,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"blog_reading_time":"","wds_primary_category":0,"wds_primary_tutorials_categories":0,"footnotes":""},"categories":[4,263,11260],"tags":[9974,390,10507,9976],"tutorials_categories":[],"class_list":["post-140773","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-plugins","category-tutorials","category-wpmu-dev-products","tag-wordpress","tag-code","tag-forms","tag-plugins-3"],"_links":{"self":[{"href":"https:\/\/wpmudev.com\/blog\/wp-json\/wp\/v2\/posts\/140773","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/wpmudev.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/wpmudev.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/wpmudev.com\/blog\/wp-json\/wp\/v2\/users\/761786"}],"replies":[{"embeddable":true,"href":"https:\/\/wpmudev.com\/blog\/wp-json\/wp\/v2\/comments?post=140773"}],"version-history":[{"count":32,"href":"https:\/\/wpmudev.com\/blog\/wp-json\/wp\/v2\/posts\/140773\/revisions"}],"predecessor-version":[{"id":224283,"href":"https:\/\/wpmudev.com\/blog\/wp-json\/wp\/v2\/posts\/140773\/revisions\/224283"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/wpmudev.com\/blog\/wp-json\/wp\/v2\/media\/177422"}],"wp:attachment":[{"href":"https:\/\/wpmudev.com\/blog\/wp-json\/wp\/v2\/media?parent=140773"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/wpmudev.com\/blog\/wp-json\/wp\/v2\/categories?post=140773"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/wpmudev.com\/blog\/wp-json\/wp\/v2\/tags?post=140773"},{"taxonomy":"tutorials_categories","embeddable":true,"href":"https:\/\/wpmudev.com\/blog\/wp-json\/wp\/v2\/tutorials_categories?post=140773"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}