<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Contact Form 7 | Tech Typed</title>
	<atom:link href="https://techtyped.com/category/web-design/wordpress/contact-form-7/feed/" rel="self" type="application/rss+xml" />
	<link>https://techtyped.com</link>
	<description>The latest tech news and tutorials</description>
	<lastBuildDate>Tue, 26 Jul 2022 17:09:21 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=6.8.10</generator>

<image>
	<url>https://techtyped.com/wp-content/uploads/2019/06/cropped-tech-typed-favicon-2-1-32x32.jpg</url>
	<title>Contact Form 7 | Tech Typed</title>
	<link>https://techtyped.com</link>
	<width>32</width>
	<height>32</height>
</image> 
	<item>
		<title>How to Add CSS Classes and ID&#8217;s to Contact Form 7</title>
		<link>https://techtyped.com/how-to-add-css-classes-and-ids-to-contact-form-7/</link>
					<comments>https://techtyped.com/how-to-add-css-classes-and-ids-to-contact-form-7/#respond</comments>
		
		<dc:creator><![CDATA[Tech Typed]]></dc:creator>
		<pubDate>Wed, 30 Jun 2021 19:07:01 +0000</pubDate>
				<category><![CDATA[Code]]></category>
		<category><![CDATA[Contact Form 7]]></category>
		<category><![CDATA[Featured]]></category>
		<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[Web Design]]></category>
		<category><![CDATA[Web Design Resources]]></category>
		<category><![CDATA[Wordpress]]></category>
		<guid isPermaLink="false">https://techtyped.com/?p=3438</guid>

					<description><![CDATA[<p>Learn how to add CSS Classes and ID's to Contact Form 7 easily for greater styling control and the ability to add specific CSS to each section of the form.</p>
The post <a href="https://techtyped.com/how-to-add-css-classes-and-ids-to-contact-form-7/">How to Add CSS Classes and ID’s to Contact Form 7</a> first appeared on <a href="https://techtyped.com">Tech Typed</a>.]]></description>
										<content:encoded><![CDATA[<p>In this article we’re taking a look at how to add CSS Classes and ID’s to<a href="https://wordpress.org/plugins/contact-form-7/" target="_blank" rel="noreferrer noopener nofollow" title="https://wordpress.org/plugins/contact-form-7/"> Contact Form 7</a> Fields to style a specific field.<br><br>As a default Contact Form 7 styling can be fairly broad for example let’s say you want to style all of the text input fields, you would write some CSS like this:</p>



<pre class="wp-block-code"><code>.wpcf7 input&#91;type="text"] {

background-color: orange;

}</code></pre>



<p>The above code sets the background color for all input types that match the text format to be orange. So whether you have 30 fields in your form that are for entering text or 1 all of them will have an orange background. This is great when it comes to styling your entire form all at once and ensuring that it’s consistent and uniform.</p>



<script async src="https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js?client=ca-pub-3056267173075197"
     crossorigin="anonymous"></script>
<ins class="adsbygoogle"
     style="display:block; text-align:center;"
     data-ad-layout="in-article"
     data-ad-format="fluid"
     data-ad-client="ca-pub-3056267173075197"
     data-ad-slot="6908922385"></ins>
<script>
     (adsbygoogle = window.adsbygoogle || []).push({});
</script>



<p>Examples: <br><br>Another good example of this is: <br><br>.wpcf7 input[type=&#8221;email&#8221;]</p>



<h5 class="wp-block-heading">Setting Generic Contact Form 7 Styles:</h5>



<p>The above sets the style for all of the email fields within the contact form for example:</p>



<pre class="wp-block-code"><code>
.wpcf7 input&#91;type="email"] {

Background-color: orange;

}</code></pre>



<p>This code does the same as the above code for the text fields and sets the background of all email fields to orange.<br><br>To find the input type of any other fields you can use the browser inspect tool to select the specific field type that you want the input format for. From this you will need to identify the section type in the same format as the above or without the input type if it’s a textarea for example.<br><br>It’s then important to ensure that you keep the .wpcf7 class in front of that class when styling it or the styling will apply to all elements of a similar format throughout your site. However when using the specific Contact Form 7 class it will only apply to the elements within your form.<br><br>To add custom ID’s and Classes for more specific fields, for example one text field that is styled differently to others you can simply add the ID or Class to the form side element for example:<br><br>[text* your-name class:contact-form-name &#8220;John Smith&#8221;]<br><br>[text* your-name id:contact-form-id &#8220;John Smith&#8221;]<br></p>



<p>So in the above examples the class is ‘contact-form-name’ and the ID in the other example is ‘contact-form-id’ to assign styles to these would use the respective CSS formatting:</p>



<h5 class="wp-block-heading">Styling a Class:</h5>



<pre class="wp-block-code"><code>.contact-form-name {

Background-color: orange;

}
</code></pre>



<p>And</p>



<h5 class="wp-block-heading">Styling an ID:</h5>



<pre class="wp-block-code"><code>#contact-form-id {

Background-color: orange;

}
</code></pre>



<p>These examples use the relevant . for a class an the # for an ID and then assign a background color of orange to the element.</p>



<h5 class="wp-block-heading">Further Reading:</h5>



<p><a href="https://techtyped.com/storing-contact-form-7-submissions/" title="Storing Contact Form 7 Submissions">Storing Contact Form 7 Submissions</a><br><br><a href="https://techtyped.com/how-to-add-a-recaptcha-to-contact-form-7/" title="How to Add a reCaptcha to Contact Form 7">How to Add ReCaptcha to Contact Form 7</a></p>



<h5 class="wp-block-heading"><strong>Summary:</strong></h5>



<p>Adding CSS Classes and ID’s to Contact Form 7 is relatively easy, and isn’t always necessary unless styling specific elements within the form. It’s often easier to style the elements that make up the form collectively to ensure that every section you create looks consistent. If you found this useful we would really appreciate a comment and a share thanks!</p>The post <a href="https://techtyped.com/how-to-add-css-classes-and-ids-to-contact-form-7/">How to Add CSS Classes and ID’s to Contact Form 7</a> first appeared on <a href="https://techtyped.com">Tech Typed</a>.]]></content:encoded>
					
					<wfw:commentRss>https://techtyped.com/how-to-add-css-classes-and-ids-to-contact-form-7/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>How to Redirect the Page After a Contact Form 7 Submission</title>
		<link>https://techtyped.com/how-to-redirect-the-page-after-a-contact-form-7-submission/</link>
					<comments>https://techtyped.com/how-to-redirect-the-page-after-a-contact-form-7-submission/#respond</comments>
		
		<dc:creator><![CDATA[Tech Typed]]></dc:creator>
		<pubDate>Wed, 30 Jun 2021 18:01:33 +0000</pubDate>
				<category><![CDATA[Code]]></category>
		<category><![CDATA[Contact Form 7]]></category>
		<category><![CDATA[Featured]]></category>
		<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[Web Design]]></category>
		<category><![CDATA[Web Design Resources]]></category>
		<category><![CDATA[Wordpress]]></category>
		<guid isPermaLink="false">https://techtyped.com/?p=3434</guid>

					<description><![CDATA[<p>In this article we're taking a look at how to redirect the page after a Contact Form 7 submission. This can be useful for analytics, tracking data and much more</p>
The post <a href="https://techtyped.com/how-to-redirect-the-page-after-a-contact-form-7-submission/">How to Redirect the Page After a Contact Form 7 Submission</a> first appeared on <a href="https://techtyped.com">Tech Typed</a>.]]></description>
										<content:encoded><![CDATA[<p><br>In this article we’re going to take a look at how to redirect the page after a Contact Form 7 Submission. This could be to a thank you page, or special offer page, or a range of other useful information pages.<br><br>The standard format for a Contact Form is to display a message on submission within the same page. You can customise these messages however, it’s often much easier from an analytics perspective to have a specifically dedicated thank you page.<br><br>You can then track the hits on that thank you page, and any special offer conversions within the page much more easily. It also means that if you have multiple forms within one page or throughout the site you can see which of the thank you / special offer pages either perform the best or get the most traffic.</p>



<script async src="https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js?client=ca-pub-3056267173075197"
     crossorigin="anonymous"></script>
<ins class="adsbygoogle"
     style="display:block; text-align:center;"
     data-ad-layout="in-article"
     data-ad-format="fluid"
     data-ad-client="ca-pub-3056267173075197"
     data-ad-slot="6908922385"></ins>
<script>
     (adsbygoogle = window.adsbygoogle || []).push({});
</script>



<p>All in all it’s an extremely useful tool to be able to set up the redirect on form submission so let’s take a look at how to implement it:</p>



<h5 class="wp-block-heading"><strong>Using a Plugin to Redirect the Page After Submitting the Contact Form:</strong></h5>



<p><a href="https://en-gb.wordpress.org/plugins/wpcf7-redirect/" target="_blank" rel="noreferrer noopener nofollow">https://en-gb.wordpress.org/plugins/wpcf7-redirect/<br><br></a>This plugin is great and really quick and simple to get set up with. After installation you get an extra tab within your Contact Form 7 configuration screen titled ‘Actions’. From here you can set redirections and other actions that occur when your form is submitted.<br><br>It really is as quick and easy as that!<br><br><strong>Redirecting the Page After Submitting the Contact Form Without Using a Plugin:</strong></p>



<p>There’s a great article on this exact topic featured on the main Contact Form 7 website here: <a href="https://contactform7.com/redirecting-to-another-url-after-submissions/" target="_blank" rel="noreferrer noopener nofollow">https://contactform7.com/redirecting-to-another-url-after-submissions/</a><br><br>In this post the code snippet used is:</p>



<pre class="wp-block-code"><code>&lt;script&gt;
document.addEventListener( 'wpcf7mailsent', function( event ) {
  location = 'http://example.com/';
}, false );
&lt;/script&gt;
</code></pre>



<p>This snippet effectively uses a Javascript Event Listener to redirect the user when the form is sent. We won’t delve into it much more than that as the post itself covers the details however if you’re not sure of how to add Javascript to WordPress take a look at our article here.<br><br>In the code above you just need to change the URL to the page that you would like to redirect the user to following a successful form submission for example:</p>



<pre class="wp-block-code"><code>&lt;script&gt;
document.addEventListener( 'wpcf7mailsent', function( event ) {
  location = 'https://techtyped.com';
}, false );
&lt;/script&gt;
</code></pre>



<p><br>So in the above example we’ve set the URL to the URL of this current website. Yours might be your website address + /thank-you-page as an example.</p>



<h5 class="wp-block-heading">Further Reading:</h5>



<p><a href="https://techtyped.com/storing-contact-form-7-submissions/" title="Storing Contact Form 7 Submissions">Storing Contact Form 7 Submissions</a><br><br><a href="https://techtyped.com/how-to-add-conditional-fields-to-contact-form-7/" title="How to Add Conditional Fields to Contact Form 7">How to Add Conditional Fields to Contact Form 7</a></p>



<h5 class="wp-block-heading"><strong>Summary:</strong></h5>



<p>So as shown above there are two great approaches to redirecting your users following form submission with Contact Form 7. The one that you use will depend on the type of site that you’re building and how comfortable you are with WordPress. We hope you found this helpful, if you did we would really appreciate a comment and a share thanks!</p>The post <a href="https://techtyped.com/how-to-redirect-the-page-after-a-contact-form-7-submission/">How to Redirect the Page After a Contact Form 7 Submission</a> first appeared on <a href="https://techtyped.com">Tech Typed</a>.]]></content:encoded>
					
					<wfw:commentRss>https://techtyped.com/how-to-redirect-the-page-after-a-contact-form-7-submission/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>Storing Contact Form 7 Submissions</title>
		<link>https://techtyped.com/storing-contact-form-7-submissions/</link>
					<comments>https://techtyped.com/storing-contact-form-7-submissions/#respond</comments>
		
		<dc:creator><![CDATA[Tech Typed]]></dc:creator>
		<pubDate>Sun, 27 Jun 2021 17:53:12 +0000</pubDate>
				<category><![CDATA[Code]]></category>
		<category><![CDATA[Contact Form 7]]></category>
		<category><![CDATA[Featured]]></category>
		<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[Web Design]]></category>
		<category><![CDATA[Web Design Resources]]></category>
		<category><![CDATA[Wordpress]]></category>
		<guid isPermaLink="false">https://techtyped.com/?p=3425</guid>

					<description><![CDATA[<p>This post takes a look at how to store contact form 7 submissions within the back-end of your WordPress site when they are submitted.</p>
The post <a href="https://techtyped.com/storing-contact-form-7-submissions/">Storing Contact Form 7 Submissions</a> first appeared on <a href="https://techtyped.com">Tech Typed</a>.]]></description>
										<content:encoded><![CDATA[<p>In this article we’re taking a look at how to store Contact Form 7 Submissions within your WordPress site.<br><br>As the contact form submissions are based on email delivery, e.g. customer submits a form and then an email is sent with their information. It’s often useful to have some other place to store the data site side.<br><br>This provides protection in the event that the email isn’t received or something changes from a mail server perspective which delays delivery.<br></p>



<script async src="https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js?client=ca-pub-3056267173075197"
     crossorigin="anonymous"></script>
<ins class="adsbygoogle"
     style="display:block; text-align:center;"
     data-ad-layout="in-article"
     data-ad-format="fluid"
     data-ad-client="ca-pub-3056267173075197"
     data-ad-slot="6908922385"></ins>
<script>
     (adsbygoogle = window.adsbygoogle || []).push({});
</script>



<h4 class="wp-block-heading"><strong>Important Considerations Before Implementing a Contact Form 7 Submissions Database:</strong></h4>



<h5 class="wp-block-heading"><strong>GDPR, UK GDPR and Other Data Protection Regulations:</strong></h5>



<p>Storing the data on your site particularly if it contains personal information such as email addresses, names, home addresses is subject to any relevant laws that govern the collection of data in the province / area that you are collecting the data.<br><br>In some cases storing these submissions website side, without relevant measures and precautions being implemented doesn’t meet the standard that GDPR for example requires from a data protection perspective.</p>



<h5 class="wp-block-heading"><strong>Spam Protection:</strong></h5>



<p>It’s important to be sure that you have some level of spam protection active on your site to prevent a tonne of spam entries to your forms. This will quickly increase the size of any database making it both tricky to find any genuine entries and to ensure your site&#8217;s data size stays appropriate.</p>



<h5 class="wp-block-heading"><strong>Implementing the Contact Form 7 Submissions Database:</strong></h5>



<p>One of the easiest ways to set up a database is through the use of some already well built plugins that do a great job of the task.<br><br>For example:</p>



<figure class="wp-block-embed is-type-wp-embed is-provider-plugin-directory wp-block-embed-plugin-directory"><div class="wp-block-embed__wrapper">
<blockquote class="wp-embedded-content" data-secret="fXJOeh9G5v"><a href="https://en-gb.wordpress.org/plugins/contact-form-cfdb7/">Contact Form 7 Database Addon &#8211; CFDB7</a></blockquote><iframe class="wp-embedded-content" sandbox="allow-scripts" security="restricted"  title="&#8220;Contact Form 7 Database Addon &#8211; CFDB7&#8221; &#8212; Plugin Directory" src="https://en-gb.wordpress.org/plugins/contact-form-cfdb7/embed/#?secret=fXJOeh9G5v" data-secret="fXJOeh9G5v" width="600" height="338" frameborder="0" marginwidth="0" marginheight="0" scrolling="no"></iframe>
</div><figcaption><a href="https://en-gb.wordpress.org/plugins/contact-form-cfdb7/" target="_blank" rel="noreferrer noopener nofollow">https://en-gb.wordpress.org/plugins/contact-form-cfdb7/</a></figcaption></figure>



<figure class="wp-block-embed is-type-wp-embed is-provider-plugin-directory wp-block-embed-plugin-directory"><div class="wp-block-embed__wrapper">
<blockquote class="wp-embedded-content" data-secret="uAOWmaRL9u"><a href="https://en-gb.wordpress.org/plugins/contact-form-entries/">Contact Form Entries &#8211; Contact Form 7, WPforms and more</a></blockquote><iframe class="wp-embedded-content" sandbox="allow-scripts" security="restricted"  title="&#8220;Contact Form Entries &#8211; Contact Form 7, WPforms and more&#8221; &#8212; Plugin Directory" src="https://en-gb.wordpress.org/plugins/contact-form-entries/embed/#?secret=uAOWmaRL9u" data-secret="uAOWmaRL9u" width="600" height="338" frameborder="0" marginwidth="0" marginheight="0" scrolling="no"></iframe>
</div><figcaption><a href="https://en-gb.wordpress.org/plugins/contact-form-entries/" target="_blank" rel="noreferrer noopener nofollow">https://en-gb.wordpress.org/plugins/contact-form-entries/ </a></figcaption></figure>



<p>These two plugins once installed provide a tab within your WordPress dashboard that displays all entries to each of your specific site based forms.</p>



<h5 class="wp-block-heading">Further Reading:</h5>



<p><a href="https://techtyped.com/how-to-add-conditional-fields-to-contact-form-7/" title="How to Add Conditional Fields to Contact Form 7">How to Add Conditional Fields to Contact Form 7</a></p>



<p><a href="https://techtyped.com/how-to-add-a-recaptcha-to-contact-form-7/" title="How to Add a reCaptcha to Contact Form 7">How to Add a ReCaptcha to Contact Form 7</a></p>



<h5 class="wp-block-heading"><strong>Summary</strong>:</h5>



<p>It’s as simple as that, a quick and easy plugin implementation allows you to ensure that you can view all of your form entries within the WordPress Dashboard. If you found this useful we would really appreciate a comment or a share!</p>The post <a href="https://techtyped.com/storing-contact-form-7-submissions/">Storing Contact Form 7 Submissions</a> first appeared on <a href="https://techtyped.com">Tech Typed</a>.]]></content:encoded>
					
					<wfw:commentRss>https://techtyped.com/storing-contact-form-7-submissions/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>How to Add Conditional Fields to Contact Form 7</title>
		<link>https://techtyped.com/how-to-add-conditional-fields-to-contact-form-7/</link>
					<comments>https://techtyped.com/how-to-add-conditional-fields-to-contact-form-7/#respond</comments>
		
		<dc:creator><![CDATA[Tech Typed]]></dc:creator>
		<pubDate>Thu, 24 Jun 2021 10:26:04 +0000</pubDate>
				<category><![CDATA[Code]]></category>
		<category><![CDATA[Contact Form 7]]></category>
		<category><![CDATA[Featured]]></category>
		<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[Web Design]]></category>
		<category><![CDATA[Web Design Resources]]></category>
		<category><![CDATA[Wordpress]]></category>
		<guid isPermaLink="false">https://techtyped.com/?p=3415</guid>

					<description><![CDATA[<p>This tutorial takes a look at how to implement conditional fields within Contact Form 7 and why you might want to. They can be really useful for any form!</p>
The post <a href="https://techtyped.com/how-to-add-conditional-fields-to-contact-form-7/">How to Add Conditional Fields to Contact Form 7</a> first appeared on <a href="https://techtyped.com">Tech Typed</a>.]]></description>
										<content:encoded><![CDATA[<p>In this post we’re taking a look at how to add conditional fields to <a href="https://wordpress.org/plugins/contact-form-7/" target="_blank" rel="noreferrer noopener nofollow" title="https://wordpress.org/plugins/contact-form-7/">Contact Form 7</a> contact forms in WordPress.</p>



<h5 class="wp-block-heading"><strong>What is a Conditional Field?</strong></h5>



<p>First let’s explore what a conditional field is. A conditional field effectively allows you to display or hide sections of your form based on the input / selection of another field. For example if a user answers yes to a question you can show a further group of questions, however if the answer is no you can show a different group of questions.<br><br>This allows for much more complex and robust forms that can help to gather larger more specific pieces of information without overloading the user with too much information at once.</p>



<script async src="https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js?client=ca-pub-3056267173075197"
     crossorigin="anonymous"></script>
<ins class="adsbygoogle"
     style="display:block; text-align:center;"
     data-ad-layout="in-article"
     data-ad-format="fluid"
     data-ad-client="ca-pub-3056267173075197"
     data-ad-slot="6908922385"></ins>
<script>
     (adsbygoogle = window.adsbygoogle || []).push({});
</script>



<h5 class="wp-block-heading"><strong>Implementing Conditional Fields in Contact Form 7:</strong></h5>



<p>The easiest way to get started with conditional fields in Contact Form 7 is to install the plugin ‘Contact Form 7 &#8211; Conditional Fields’ which you can find here:<br><br>This handy plugin once installed displays a tab within your standard Contact Form 7 editing area titled ‘Conditional Fields’. Within this field you can add If statements, And statements and more using your existing fields.<br><br>Each field can be based on the value contained within it by setting other fields to be based on what the original one equals or doesn’t equal.</p>



<h5 class="wp-block-heading"><strong>Further Reading:</strong></h5>



<p><a href="https://techtyped.com/how-to-add-a-recaptcha-to-contact-form-7/" title="How to Add a reCaptcha to Contact Form 7">How to Add reCaptcha to Contact Form 7</a></p>



<p><a href="https://techtyped.com/contact-form-7-setting-the-submit-button-hover-styles/" title="Contact Form 7 Setting the Submit Button Hover Styles">Contact Form 7 Setting the Submit Button Hover Styles</a></p>



<h5 class="wp-block-heading"><strong>Summary:</strong></h5>



<p>This quick tutorial gives you an overview of how to use conditional fields in Contact Form 7 using an existing plugin. The setup is really easy and once you get started with it you can build complex, well structured conditional forms.<br><br>We hope this helps, if you found it useful we would really appreciate a comment or a share thanks!</p>



<p></p>The post <a href="https://techtyped.com/how-to-add-conditional-fields-to-contact-form-7/">How to Add Conditional Fields to Contact Form 7</a> first appeared on <a href="https://techtyped.com">Tech Typed</a>.]]></content:encoded>
					
					<wfw:commentRss>https://techtyped.com/how-to-add-conditional-fields-to-contact-form-7/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>How to Add a reCaptcha to Contact Form 7</title>
		<link>https://techtyped.com/how-to-add-a-recaptcha-to-contact-form-7/</link>
					<comments>https://techtyped.com/how-to-add-a-recaptcha-to-contact-form-7/#respond</comments>
		
		<dc:creator><![CDATA[Tech Typed]]></dc:creator>
		<pubDate>Tue, 22 Jun 2021 18:37:23 +0000</pubDate>
				<category><![CDATA[Code]]></category>
		<category><![CDATA[Contact Form 7]]></category>
		<category><![CDATA[Featured]]></category>
		<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[Web Design]]></category>
		<category><![CDATA[Web Design Resources]]></category>
		<category><![CDATA[Wordpress]]></category>
		<guid isPermaLink="false">https://techtyped.com/?p=3412</guid>

					<description><![CDATA[<p>This tutorial explains how you can easily add a reCaptcha to your Contact Form 7 Forms and why it's useful for spam reduction on your website.</p>
The post <a href="https://techtyped.com/how-to-add-a-recaptcha-to-contact-form-7/">How to Add a reCaptcha to Contact Form 7</a> first appeared on <a href="https://techtyped.com">Tech Typed</a>.]]></description>
										<content:encoded><![CDATA[<p>In this article we’re going to take a look at how to add a reCaptcha to your Contact Form 7 forms.<br><br>Firstly let’s quickly cover the purpose of reCaptcha. This handy tool provided by Google allows you to easily and effectively implement spam protection across your forms and website.<br><br>There are two different versions of reCaptcha V2 and V3. Contact Form 7 Integrates with V3, this is important to know as when you set your API keys up you will need to be sure to select V3.&nbsp;</p>



<h5 class="wp-block-heading"><strong>Integrating reCaptcha</strong></h5>



<p>The first step is to select Integration within the Contact Form 7 menu. So hover over the Contact Form 7 plugin within the left menu in WordPress and you will see the integration option.<br><br>Once this page is open select reCaptcha integration out of the integrations list. The install process will then ask you for your site key and your secret key. These need to be setup in your Google account.<br><br>Firstly ensure that you’re logged into the Google account that you would like to have hold the reCaptcha keys and that it is readily accessible.<br><br>Then head over to this link: <a href="https://www.google.com/recaptcha/admin/create" target="_blank" rel="noreferrer noopener nofollow">https://www.google.com/recaptcha/admin/create</a><br><br>Within this page enter a label, this should describe your reCaptcha purpose for example, [Website Name] Spam Protection.<br><br>Then select V3.<br><br>You then need to add your domain name, this is the domain that the reCaptcha will feature on e.g. yourwebsite.com.<br><br>Then complete the rest of the setup form, it should ask you to read terms and conditions, check policies and confirm your notification preferences.<br><br>You will then be given your site key and your secret key. These need to be added to the relevant boxes on your site within the contact form 7 setup section. </p>



<script async src="https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js?client=ca-pub-3056267173075197"
     crossorigin="anonymous"></script>
<ins class="adsbygoogle"
     style="display:block; text-align:center;"
     data-ad-layout="in-article"
     data-ad-format="fluid"
     data-ad-client="ca-pub-3056267173075197"
     data-ad-slot="6908922385"></ins>
<script>
     (adsbygoogle = window.adsbygoogle || []).push({});
</script>



<h5 class="wp-block-heading"><strong>Adding the reCaptcha to Your Contact Forms:</strong></h5>



<p>The next step once you’ve integrated the reCaptcha Setup is to add them to your forms. Head over to the section where you edit your forms and click on each form individually.<br><br>As long as reCaptcha is integrated fully you will see the option to add it to the form in the toggles at the top. Click this and it will generate a shortcode. Ideally you should add this to the bottom of your form.</p>



<h5 class="wp-block-heading">Further Reading</h5>



<p><a href="https://techtyped.com/contact-form-7-setting-the-submit-button-hover-styles/" target="_blank" rel="noreferrer noopener" title="Contact Form 7 Setting the Submit Button Hover Styles">Contact Form 7 Setting the Submit Button Hover Styles</a></p>



<h5 class="wp-block-heading"><strong>Summary</strong>:</h5>



<p>That’s it, a quick and easy integration to ensure that your forms remain relatively spam free. If you found this useful we’d really appreciate and comments and a share thanks!</p>



<p></p>The post <a href="https://techtyped.com/how-to-add-a-recaptcha-to-contact-form-7/">How to Add a reCaptcha to Contact Form 7</a> first appeared on <a href="https://techtyped.com">Tech Typed</a>.]]></content:encoded>
					
					<wfw:commentRss>https://techtyped.com/how-to-add-a-recaptcha-to-contact-form-7/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>Contact Form 7 Setting the Submit Button Hover Styles</title>
		<link>https://techtyped.com/contact-form-7-setting-the-submit-button-hover-styles/</link>
					<comments>https://techtyped.com/contact-form-7-setting-the-submit-button-hover-styles/#respond</comments>
		
		<dc:creator><![CDATA[Tech Typed]]></dc:creator>
		<pubDate>Mon, 21 Jun 2021 16:39:18 +0000</pubDate>
				<category><![CDATA[Code]]></category>
		<category><![CDATA[Contact Form 7]]></category>
		<category><![CDATA[Featured]]></category>
		<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[Web Design]]></category>
		<category><![CDATA[Web Design Resources]]></category>
		<category><![CDATA[Wordpress]]></category>
		<guid isPermaLink="false">https://techtyped.com/?p=3402</guid>

					<description><![CDATA[<p>This article takes a look at how to style the Contact Form 7 submit button when a user hovers over it, to match the style of your website or improve general UX.</p>
The post <a href="https://techtyped.com/contact-form-7-setting-the-submit-button-hover-styles/">Contact Form 7 Setting the Submit Button Hover Styles</a> first appeared on <a href="https://techtyped.com">Tech Typed</a>.]]></description>
										<content:encoded><![CDATA[<p>In this article we’re taking a look at how to style the <a href="https://wordpress.org/plugins/contact-form-7/" target="_blank" rel="noreferrer noopener nofollow" title="https://wordpress.org/plugins/contact-form-7/">Contact Form 7</a> Submit button when hovering over it.<br><br>By styling the button during the mouse over you can improve the user experience and guide users to click the button and submit the contact form.<br><br>This may be for the purpose of getting a quote, general enquiries or a tonne of other great uses for the contact form.<br><br>Before we delve into the code during this tutorial we will be using CSS to style the button, if you’re unfamiliar with how to add CSS to WordPress take a look at our article <a href="https://techtyped.com/adding-css-to-wordpress/" target="_blank" rel="noreferrer noopener" title="Adding CSS to WordPress">here</a>.</p>



<script async src="https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js?client=ca-pub-3056267173075197"
     crossorigin="anonymous"></script>
<ins class="adsbygoogle"
     style="display:block; text-align:center;"
     data-ad-layout="in-article"
     data-ad-format="fluid"
     data-ad-client="ca-pub-3056267173075197"
     data-ad-slot="6908922385"></ins>
<script>
     (adsbygoogle = window.adsbygoogle || []).push({});
</script>



<h5 class="wp-block-heading">The Code to Set the Hover Styles:</h5>



<p>So let’s get started with the CSS code. As long as your installation of Contact Form 7 is standard and your theme styling isn’t overriding it by default you should be using the classes:</p>



<pre class="wp-block-code"><code>.wpcf7-form-control.wpcf7-submit</code></pre>



<p>So to style this we simply add :hover to the end of the class and add our CSS, this would like this:</p>



<pre class="wp-block-code"><code>.wpcf7-form-control.wpcf7-submit:hover {

background: black;
border: 5px solid pink;
color: pink;

}</code></pre>



<p>In the above example we are setting the button to have a black background with a 5px solid pink border and a text colour of pink when hovered over. You can style the button however you want to suit your site some good ideas for styling options include:&nbsp;<br><br><strong>Border-Radius: 25px;</strong> &#8211; This sets a curved border of 25px.<br><br><strong>Font-size: 150%;</strong> &#8211; This increases the font size to 150% of the original font size.<br><br><strong>Text-transform: Uppercase;</strong> &#8211; This sets the font to be uppercase when hovered over.<br><br><strong>Width: 150%;</strong> &#8211; This increases the width of the button when hovered over.</p>



<h5 class="wp-block-heading">Summary:</h5>



<p>There are tonnes of examples just like this that will allow you to create a really nice user experience and to match the existing design / style of your overall site and brand.<br><br>We hope you found this useful, if you did we would really appreciate a comment or any shares thanks!</p>The post <a href="https://techtyped.com/contact-form-7-setting-the-submit-button-hover-styles/">Contact Form 7 Setting the Submit Button Hover Styles</a> first appeared on <a href="https://techtyped.com">Tech Typed</a>.]]></content:encoded>
					
					<wfw:commentRss>https://techtyped.com/contact-form-7-setting-the-submit-button-hover-styles/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
	</channel>
</rss>
