{"id":106,"date":"2026-11-19T08:35:06","date_gmt":"2026-11-19T08:35:06","guid":{"rendered":"https:\/\/oddlylogical.com\/logical-forms\/?post_type=doc&#038;p=106"},"modified":"2026-11-27T04:43:15","modified_gmt":"2026-11-27T04:43:15","slug":"captcha-settings","status":"publish","type":"doc","link":"https:\/\/oddlylogical.com\/logical-forms-old\/docs\/captcha-settings\/","title":{"rendered":"Set up CAPTCHA with Cloudflare Turnstile"},"content":{"rendered":"<p>Logical Forms includes Cloudflare Turnstile support. Configure the website's keys once under <strong>Logical Forms \u2192 Settings \u2192 Captcha<\/strong>, then add a CAPTCHA field to each form that should use it.<\/p>\n<h2 id=\"keys\">Prepare the Turnstile widget<\/h2>\n<ol>\n<li>Open <strong>Logical Forms \u2192 Settings \u2192 Captcha<\/strong> and select <strong>Get Turnstile keys<\/strong>. Sign in to Cloudflare and select the account that will own the widget.<\/li>\n<li>On the Turnstile page, select <strong>Add widget<\/strong>. Give it a recognizable name for this website.<\/li>\n<li>Add the hostnames on which your forms will run. Include each applicable hostname, such as <strong>example.com<\/strong> and <strong>www.example.com<\/strong>. Check staging hosts separately.<\/li>\n<li>Choose <strong>Managed<\/strong> for the normal interactive setup. If Cloudflare asks for a region, choose the one appropriate to your visitors. No custom JavaScript or server integration is required in WordPress.<\/li>\n<li>Select <strong>Create<\/strong>, then copy the widget's <strong>sitekey<\/strong> and <strong>secret key<\/strong>. An existing widget can be used if it permits this site's hostname.<\/li>\n<li>Return to Logical Forms. Paste the matching values into <strong>Site key<\/strong> and <strong>Secret key<\/strong>, select <strong>Save settings<\/strong>, then follow <a href=\"#verification\">Verify the saved setup<\/a> below.<\/li>\n<\/ol>\n<p>Cloudflare's <a href=\"https:\/\/developers.cloudflare.com\/turnstile\/get-started\/widget-management\/dashboard\/\" target=\"_blank\" rel=\"noopener noreferrer\">widget setup instructions (opens in a new tab)<\/a> cover its current dashboard choices. Logical Forms handles the widget and server verification for you. Saving keys does not protect a form until you <a href=\"#add-to-form\">add its CAPTCHA field<\/a>.<\/p>\n<p>The site key is used by the browser widget. The secret belongs on the server. The plugin's password control does not reveal a saved secret; do not put it in a form field, screenshot or public article.<\/p>\n<h2 id=\"configuration\">Save the configuration<\/h2>\n<table>\n<thead>\n<tr>\n<th>Setting<\/th>\n<th>What it does<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td>Provider<\/td>\n<td>Cloudflare Turnstile is the bundled provider.<\/td>\n<\/tr>\n<tr>\n<td>Site key<\/td>\n<td>Enter the widget's site key.<\/td>\n<\/tr>\n<tr>\n<td>Secret key<\/td>\n<td>Enter the corresponding secret. When one is already saved, leaving this input blank retains it; entering a new value replaces it.<\/td>\n<\/tr>\n<tr>\n<td>Remove saved secret<\/td>\n<td>Explicitly removes the saved secret when saved. Use only when intentionally disconnecting or replacing the configuration.<\/td>\n<\/tr>\n<tr>\n<td>Default theme<\/td>\n<td>Automatic, Light or Dark. Individual CAPTCHA fields can follow or override the default.<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>Select <strong>Save settings<\/strong> before testing. Merely typing unsaved keys does not change the configuration used by the Verification section.<\/p>\n<figure class=\"lf-docs-shot\" id=\"lf-shot-captcha-settings-1\" data-lf-docs-asset=\"S12-provider-site-key\" style=\"--lf-shot-width: 800px\">\n  <a href=\"https:\/\/logicalforms.io\/wp-content\/uploads\/sites\/14\/2026\/11\/lf-beta37-captcha-setup.webp\" data-lf-docs-image data-native-width=\"1806\" data-native-height=\"536\" aria-label=\"Enlarge screenshot: Choose Cloudflare Turnstile and enter the Site key from your widget.\"><br \/>\n    <img src=\"https:\/\/logicalforms.io\/wp-content\/uploads\/sites\/14\/2026\/11\/lf-beta37-captcha-setup.webp\" srcset=\"https:\/\/logicalforms.io\/wp-content\/uploads\/sites\/14\/2026\/11\/lf-beta37-captcha-setup-320w.webp 320w, https:\/\/logicalforms.io\/wp-content\/uploads\/sites\/14\/2026\/11\/lf-beta37-captcha-setup-640w.webp 640w, https:\/\/logicalforms.io\/wp-content\/uploads\/sites\/14\/2026\/11\/lf-beta37-captcha-setup-800w.webp 800w, https:\/\/logicalforms.io\/wp-content\/uploads\/sites\/14\/2026\/11\/lf-beta37-captcha-setup-1600w.webp 1600w, https:\/\/logicalforms.io\/wp-content\/uploads\/sites\/14\/2026\/11\/lf-beta37-captcha-setup.webp 1806w\" sizes=\"auto, (min-width: 1168px) 800px, (min-width: 992px) min(800px, calc(100vw - 337px)), (min-width: 768px) min(800px, calc(100vw - 278px)), min(800px, calc(100vw - 48px))\" width=\"1806\" height=\"536\" alt=\"CAPTCHA settings setup links and the Cloudflare Turnstile provider, with credential fields outside the capture.\" loading=\"lazy\" decoding=\"async\"><br \/>\n  <\/a><figcaption>Choose Cloudflare Turnstile and enter the Site key from your widget.<\/figcaption><\/figure>\n<h2 id=\"verification\">Verify the saved setup<\/h2>\n<p>After both keys are saved, use the widget in <strong>Verification<\/strong>, then select <strong>Test configuration<\/strong>. Read the result. A rendered widget alone does not establish that server verification works with the secret.<\/p>\n<p>If the widget is missing or verification fails, check that the two keys belong together, the widget permits this hostname, and the browser can load Cloudflare's script. Also check the site's outbound connection to the verification service. Saving the keys again is appropriate only when correcting their values.<\/p>\n<figure class=\"lf-docs-shot\" id=\"lf-shot-captcha-settings-2\" data-lf-docs-asset=\"S12-theme-verification\" style=\"--lf-shot-width: 800px\">\n  <a href=\"https:\/\/logicalforms.io\/wp-content\/uploads\/sites\/14\/2026\/11\/lf-beta37-captcha-verification.webp\" data-lf-docs-image data-native-width=\"1806\" data-native-height=\"592\" aria-label=\"Enlarge screenshot: The Verification area explains that both keys must be saved before testing.\"><br \/>\n    <img src=\"https:\/\/logicalforms.io\/wp-content\/uploads\/sites\/14\/2026\/11\/lf-beta37-captcha-verification.webp\" srcset=\"https:\/\/logicalforms.io\/wp-content\/uploads\/sites\/14\/2026\/11\/lf-beta37-captcha-verification-320w.webp 320w, https:\/\/logicalforms.io\/wp-content\/uploads\/sites\/14\/2026\/11\/lf-beta37-captcha-verification-640w.webp 640w, https:\/\/logicalforms.io\/wp-content\/uploads\/sites\/14\/2026\/11\/lf-beta37-captcha-verification-800w.webp 800w, https:\/\/logicalforms.io\/wp-content\/uploads\/sites\/14\/2026\/11\/lf-beta37-captcha-verification-1600w.webp 1600w, https:\/\/logicalforms.io\/wp-content\/uploads\/sites\/14\/2026\/11\/lf-beta37-captcha-verification.webp 1806w\" sizes=\"auto, (min-width: 1168px) 800px, (min-width: 992px) min(800px, calc(100vw - 337px)), (min-width: 768px) min(800px, calc(100vw - 278px)), min(800px, calc(100vw - 48px))\" width=\"1806\" height=\"592\" alt=\"Turnstile verification area after automatic widget verification, with Test configuration and troubleshooting controls.\" loading=\"lazy\" decoding=\"async\"><br \/>\n  <\/a><figcaption>The Verification area explains that both keys must be saved before testing.<\/figcaption><\/figure>\n<h2 id=\"add-to-form\">Protect an individual form<\/h2>\n<ol>\n<li>Open the form in Build.<\/li>\n<li>Add <strong>CAPTCHA<\/strong> from the field palette.<\/li>\n<li>Review its label, description, theme and size.<\/li>\n<li>Save the form and check an embedded page.<\/li>\n<\/ol>\n<p>Only one CAPTCHA field is allowed in a form. Global credentials alone do not add CAPTCHA to every form. Honeypot protection in <a href=\"\/docs\/general-form-settings\/\">General settings<\/a> is a separate control.<\/p>\n<h2 id=\"environments\">Moving to another environment<\/h2>\n<p>Use keys valid for the destination site and perform its saved-configuration test. Cloudflare test keys are accepted by the plugin only in local or development environments; they are rejected in production. They are a development aid rather than protection for a public form.<\/p>\n<p>Changing credentials can affect every form on this site that contains CAPTCHA. After a change, check a representative embedded form as well as the settings-page test.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Configure Turnstile site and secret keys, verify the saved setup, and add CAPTCHA protection to individual Logical Forms forms.<\/p>\n","protected":false},"author":1,"featured_media":0,"menu_order":50,"template":"","doc-categories":[20],"class_list":["post-106","doc","type-doc","status-publish","hentry","doc_category-plugin-settings"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v28.9 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Set up CAPTCHA with Cloudflare Turnstile | Logical Forms Docs<\/title>\n<meta name=\"description\" content=\"Configure Turnstile site and secret keys, verify the saved setup, and add CAPTCHA protection to individual Logical Forms forms.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/oddlylogical.com\/logical-forms-old\/docs\/captcha-settings\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Set up CAPTCHA with Cloudflare Turnstile | Logical Forms Docs\" \/>\n<meta property=\"og:description\" content=\"Configure Turnstile site and secret keys, verify the saved setup, and add CAPTCHA protection to individual Logical Forms forms.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/oddlylogical.com\/logical-forms-old\/docs\/captcha-settings\/\" \/>\n<meta property=\"og:site_name\" content=\"Logical Forms\" \/>\n<meta property=\"article:modified_time\" content=\"2026-11-27T04:43:15+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/logicalforms.io\/wp-content\/uploads\/sites\/14\/2026\/11\/lf-beta37-captcha-setup.webp\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data1\" content=\"3 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/oddlylogical.com\\\/logical-forms-old\\\/docs\\\/captcha-settings\\\/\",\"url\":\"https:\\\/\\\/oddlylogical.com\\\/logical-forms-old\\\/docs\\\/captcha-settings\\\/\",\"name\":\"Set up CAPTCHA with Cloudflare Turnstile | Logical Forms Docs\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/oddlylogical.com\\\/logical-forms-old\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/oddlylogical.com\\\/logical-forms-old\\\/docs\\\/captcha-settings\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/oddlylogical.com\\\/logical-forms-old\\\/docs\\\/captcha-settings\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/logicalforms.io\\\/wp-content\\\/uploads\\\/sites\\\/14\\\/2026\\\/11\\\/lf-beta37-captcha-setup.webp\",\"datePublished\":\"2026-11-19T08:35:06+00:00\",\"dateModified\":\"2026-11-27T04:43:15+00:00\",\"description\":\"Configure Turnstile site and secret keys, verify the saved setup, and add CAPTCHA protection to individual Logical Forms forms.\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/oddlylogical.com\\\/logical-forms-old\\\/docs\\\/captcha-settings\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/oddlylogical.com\\\/logical-forms-old\\\/docs\\\/captcha-settings\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/oddlylogical.com\\\/logical-forms-old\\\/docs\\\/captcha-settings\\\/#primaryimage\",\"url\":\"https:\\\/\\\/logicalforms.io\\\/wp-content\\\/uploads\\\/sites\\\/14\\\/2026\\\/11\\\/lf-beta37-captcha-setup.webp\",\"contentUrl\":\"https:\\\/\\\/logicalforms.io\\\/wp-content\\\/uploads\\\/sites\\\/14\\\/2026\\\/11\\\/lf-beta37-captcha-setup.webp\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/oddlylogical.com\\\/logical-forms-old\\\/docs\\\/captcha-settings\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/oddlylogical.com\\\/logical-forms-old\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Documentation\",\"item\":\"https:\\\/\\\/oddlylogical.com\\\/logical-forms-old\\\/docs\\\/\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"Set up CAPTCHA with Cloudflare Turnstile\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/oddlylogical.com\\\/logical-forms-old\\\/#website\",\"url\":\"https:\\\/\\\/oddlylogical.com\\\/logical-forms-old\\\/\",\"name\":\"Logical Forms\",\"description\":\"\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/oddlylogical.com\\\/logical-forms-old\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Set up CAPTCHA with Cloudflare Turnstile | Logical Forms Docs","description":"Configure Turnstile site and secret keys, verify the saved setup, and add CAPTCHA protection to individual Logical Forms forms.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/oddlylogical.com\/logical-forms-old\/docs\/captcha-settings\/","og_locale":"en_US","og_type":"article","og_title":"Set up CAPTCHA with Cloudflare Turnstile | Logical Forms Docs","og_description":"Configure Turnstile site and secret keys, verify the saved setup, and add CAPTCHA protection to individual Logical Forms forms.","og_url":"https:\/\/oddlylogical.com\/logical-forms-old\/docs\/captcha-settings\/","og_site_name":"Logical Forms","article_modified_time":"2026-11-27T04:43:15+00:00","og_image":[{"url":"https:\/\/logicalforms.io\/wp-content\/uploads\/sites\/14\/2026\/11\/lf-beta37-captcha-setup.webp","type":"","width":"","height":""}],"twitter_card":"summary_large_image","twitter_misc":{"Est. reading time":"3 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/oddlylogical.com\/logical-forms-old\/docs\/captcha-settings\/","url":"https:\/\/oddlylogical.com\/logical-forms-old\/docs\/captcha-settings\/","name":"Set up CAPTCHA with Cloudflare Turnstile | Logical Forms Docs","isPartOf":{"@id":"https:\/\/oddlylogical.com\/logical-forms-old\/#website"},"primaryImageOfPage":{"@id":"https:\/\/oddlylogical.com\/logical-forms-old\/docs\/captcha-settings\/#primaryimage"},"image":{"@id":"https:\/\/oddlylogical.com\/logical-forms-old\/docs\/captcha-settings\/#primaryimage"},"thumbnailUrl":"https:\/\/logicalforms.io\/wp-content\/uploads\/sites\/14\/2026\/11\/lf-beta37-captcha-setup.webp","datePublished":"2026-11-19T08:35:06+00:00","dateModified":"2026-11-27T04:43:15+00:00","description":"Configure Turnstile site and secret keys, verify the saved setup, and add CAPTCHA protection to individual Logical Forms forms.","breadcrumb":{"@id":"https:\/\/oddlylogical.com\/logical-forms-old\/docs\/captcha-settings\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/oddlylogical.com\/logical-forms-old\/docs\/captcha-settings\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/oddlylogical.com\/logical-forms-old\/docs\/captcha-settings\/#primaryimage","url":"https:\/\/logicalforms.io\/wp-content\/uploads\/sites\/14\/2026\/11\/lf-beta37-captcha-setup.webp","contentUrl":"https:\/\/logicalforms.io\/wp-content\/uploads\/sites\/14\/2026\/11\/lf-beta37-captcha-setup.webp"},{"@type":"BreadcrumbList","@id":"https:\/\/oddlylogical.com\/logical-forms-old\/docs\/captcha-settings\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/oddlylogical.com\/logical-forms-old\/"},{"@type":"ListItem","position":2,"name":"Documentation","item":"https:\/\/oddlylogical.com\/logical-forms-old\/docs\/"},{"@type":"ListItem","position":3,"name":"Set up CAPTCHA with Cloudflare Turnstile"}]},{"@type":"WebSite","@id":"https:\/\/oddlylogical.com\/logical-forms-old\/#website","url":"https:\/\/oddlylogical.com\/logical-forms-old\/","name":"Logical Forms","description":"","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/oddlylogical.com\/logical-forms-old\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"}]}},"_links":{"self":[{"href":"https:\/\/oddlylogical.com\/logical-forms-old\/wp-json\/wp\/v2\/docs\/106","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/oddlylogical.com\/logical-forms-old\/wp-json\/wp\/v2\/docs"}],"about":[{"href":"https:\/\/oddlylogical.com\/logical-forms-old\/wp-json\/wp\/v2\/types\/doc"}],"author":[{"embeddable":true,"href":"https:\/\/oddlylogical.com\/logical-forms-old\/wp-json\/wp\/v2\/users\/1"}],"version-history":[{"count":5,"href":"https:\/\/oddlylogical.com\/logical-forms-old\/wp-json\/wp\/v2\/docs\/106\/revisions"}],"predecessor-version":[{"id":715,"href":"https:\/\/oddlylogical.com\/logical-forms-old\/wp-json\/wp\/v2\/docs\/106\/revisions\/715"}],"wp:attachment":[{"href":"https:\/\/oddlylogical.com\/logical-forms-old\/wp-json\/wp\/v2\/media?parent=106"}],"wp:term":[{"taxonomy":"doc_category","embeddable":true,"href":"https:\/\/oddlylogical.com\/logical-forms-old\/wp-json\/wp\/v2\/doc-categories?post=106"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}