{"id":231,"date":"2024-07-15T10:48:29","date_gmt":"2024-07-15T14:48:29","guid":{"rendered":"https:\/\/htmlformsplugin.com\/?p=231"},"modified":"2025-09-11T09:51:25","modified_gmt":"2025-09-11T13:51:25","slug":"hcaptcha","status":"publish","type":"post","link":"https:\/\/htmlformsplugin.com\/kb\/hcaptcha\/","title":{"rendered":"Integrate hCaptcha"},"content":{"rendered":"\n<p>You can add hCaptcha to your HTML Forms very easily. It&#8217;s a simple three-step process:<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Step #1<\/h2>\n\n\n\n<p>Install and activate the <a href=\"https:\/\/wordpress.org\/plugins\/hcaptcha-for-forms-and-more\/\">hCaptcha plugin<\/a>, create a free hCaptcha account and add your credentials in the hCaptcha plugin settings.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Step #2<\/h2>\n\n\n\n<p>As of version 3.5.0, the hCaptcha plugin offers a direct integration with HTML Forms. Simply go to the Integrations tab of the hCaptcha plugin&#8217;s settings, find the HTML Forms box, and select the &#8220;Form&#8221; toggle like so:<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"818\" height=\"637\" src=\"https:\/\/htmlformsplugin.com\/wp-content\/uploads\/2024\/07\/hcaptcha-for-wordpress-integration.png\" alt=\"hCaptcha for WordPress Integration\" class=\"wp-image-251\"\/><\/figure>\n<\/div>\n\n\n<p>Turning this integration on will automatically add the hCaptcha fields necessary to your forms. You won&#8217;t have to do anything else. When viewing your forms in the form editor, the hCaptcha fields can be seen above your submit button.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Step #3<\/h2>\n\n\n\n<p>GitHub user <a href=\"https:\/\/github.com\/despecial\">despecial<\/a> recommends this additional code snippet to filter out the hCaptcha fields from your form results. This is <strong>not necessary<\/strong> if you are using version 1.4.0 or later of HTML Forms.<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code class=\"\">\/\/ Filter hCaptcha fields\nfunction ignored_hf_fields() {\n        return array(\n            'hcaptcha-widget-id',\n            'hcap_fst_token',\n            'g-recaptcha-response',\n            'h-captcha-response',\n            'html_forms_form_nonce',\n        );\n}\nadd_filter('hf_ignored_field_names','ignored_hf_fields');<\/code><\/pre>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity is-style-dots\"\/>\n\n\n\n<p>Thank you to hCaptcha for adding support for HTML Forms to their plugin.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Learn how to integrate hCaptcha into your forms thanks to code submissions from the HTML Forms plugin community of developers.<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[2],"tags":[6],"class_list":["post-231","post","type-post","status-publish","format-standard","hentry","category-kb","tag-advanced"],"yoast_head":"<title>Integrate hCaptcha - HTML Forms WordPress Plugin<\/title>\n<meta name=\"description\" content=\"Learn how to integrate hCaptcha into your forms thanks to code submissions from the HTML Forms plugin community of developers.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/htmlformsplugin.com\/kb\/hcaptcha\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Integrate hCaptcha\" \/>\n<meta property=\"og:description\" content=\"Learn how to integrate hCaptcha into your forms thanks to code submissions from the HTML Forms plugin community of developers.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/htmlformsplugin.com\/kb\/hcaptcha\/\" \/>\n<meta property=\"og:site_name\" content=\"HTML Forms WordPress Plugin\" \/>\n<meta property=\"article:published_time\" content=\"2024-07-15T14:48:29+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2025-09-11T13:51:25+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/htmlformsplugin.com\/wp-content\/uploads\/2024\/05\/open-graph-html-forms.png\" \/>\n\t<meta property=\"og:image:width\" content=\"1200\" \/>\n\t<meta property=\"og:image:height\" content=\"600\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/png\" \/>\n<meta name=\"author\" content=\"Brian Link\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:title\" content=\"Integrate hCaptcha\" \/>\n<meta name=\"twitter:description\" content=\"Learn how to integrate hCaptcha into your forms thanks to code submissions from the HTML Forms plugin community of developers.\" \/>\n<meta name=\"twitter:image\" content=\"https:\/\/htmlformsplugin.com\/wp-content\/uploads\/2024\/05\/open-graph-html-forms.png\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Brian Link\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"1 minute\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/htmlformsplugin.com\\\/kb\\\/hcaptcha\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/htmlformsplugin.com\\\/kb\\\/hcaptcha\\\/\"},\"author\":{\"name\":\"Brian Link\",\"@id\":\"https:\\\/\\\/htmlformsplugin.com\\\/#\\\/schema\\\/person\\\/b02bbb6b44c6cb9559e0002d93d1f673\"},\"headline\":\"Integrate hCaptcha\",\"datePublished\":\"2024-07-15T14:48:29+00:00\",\"dateModified\":\"2025-09-11T13:51:25+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/htmlformsplugin.com\\\/kb\\\/hcaptcha\\\/\"},\"wordCount\":163,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\\\/\\\/htmlformsplugin.com\\\/#organization\"},\"image\":{\"@id\":\"https:\\\/\\\/htmlformsplugin.com\\\/kb\\\/hcaptcha\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/htmlformsplugin.com\\\/wp-content\\\/uploads\\\/2024\\\/07\\\/hcaptcha-for-wordpress-integration.png\",\"keywords\":[\"Advanced\"],\"articleSection\":[\"Knowledge Base\"],\"inLanguage\":\"en-US\"},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/htmlformsplugin.com\\\/kb\\\/hcaptcha\\\/\",\"url\":\"https:\\\/\\\/htmlformsplugin.com\\\/kb\\\/hcaptcha\\\/\",\"name\":\"Integrate hCaptcha - HTML Forms WordPress Plugin\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/htmlformsplugin.com\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/htmlformsplugin.com\\\/kb\\\/hcaptcha\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/htmlformsplugin.com\\\/kb\\\/hcaptcha\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/htmlformsplugin.com\\\/wp-content\\\/uploads\\\/2024\\\/07\\\/hcaptcha-for-wordpress-integration.png\",\"datePublished\":\"2024-07-15T14:48:29+00:00\",\"dateModified\":\"2025-09-11T13:51:25+00:00\",\"description\":\"Learn how to integrate hCaptcha into your forms thanks to code submissions from the HTML Forms plugin community of developers.\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/htmlformsplugin.com\\\/kb\\\/hcaptcha\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/htmlformsplugin.com\\\/kb\\\/hcaptcha\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/htmlformsplugin.com\\\/kb\\\/hcaptcha\\\/#primaryimage\",\"url\":\"https:\\\/\\\/htmlformsplugin.com\\\/wp-content\\\/uploads\\\/2024\\\/07\\\/hcaptcha-for-wordpress-integration.png\",\"contentUrl\":\"https:\\\/\\\/htmlformsplugin.com\\\/wp-content\\\/uploads\\\/2024\\\/07\\\/hcaptcha-for-wordpress-integration.png\",\"width\":818,\"height\":637,\"caption\":\"hCaptcha for WordPress Integration\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/htmlformsplugin.com\\\/kb\\\/hcaptcha\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/htmlformsplugin.com\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Integrate hCaptcha\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/htmlformsplugin.com\\\/#website\",\"url\":\"https:\\\/\\\/htmlformsplugin.com\\\/\",\"name\":\"HTML Forms WordPress Plugin\",\"description\":\"\",\"publisher\":{\"@id\":\"https:\\\/\\\/htmlformsplugin.com\\\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/htmlformsplugin.com\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/htmlformsplugin.com\\\/#organization\",\"name\":\"HTML Forms WordPress Plugin\",\"url\":\"https:\\\/\\\/htmlformsplugin.com\\\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/htmlformsplugin.com\\\/#\\\/schema\\\/logo\\\/image\\\/\",\"url\":\"https:\\\/\\\/htmlformsplugin.com\\\/wp-content\\\/uploads\\\/2024\\\/05\\\/html-forms-logo.png\",\"contentUrl\":\"https:\\\/\\\/htmlformsplugin.com\\\/wp-content\\\/uploads\\\/2024\\\/05\\\/html-forms-logo.png\",\"width\":256,\"height\":256,\"caption\":\"HTML Forms WordPress Plugin\"},\"image\":{\"@id\":\"https:\\\/\\\/htmlformsplugin.com\\\/#\\\/schema\\\/logo\\\/image\\\/\"}},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/htmlformsplugin.com\\\/#\\\/schema\\\/person\\\/b02bbb6b44c6cb9559e0002d93d1f673\",\"name\":\"Brian Link\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/ea2350acd2040f957e4e11d136c823bc13994837d3e4a912d7d8ccd3cc6e954d?s=96&d=mm&r=g\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/ea2350acd2040f957e4e11d136c823bc13994837d3e4a912d7d8ccd3cc6e954d?s=96&d=mm&r=g\",\"contentUrl\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/ea2350acd2040f957e4e11d136c823bc13994837d3e4a912d7d8ccd3cc6e954d?s=96&d=mm&r=g\",\"caption\":\"Brian Link\"},\"url\":\"https:\\\/\\\/htmlformsplugin.com\\\/author\\\/brian\\\/\"}]}<\/script>","yoast_head_json":{"title":"Integrate hCaptcha - HTML Forms WordPress Plugin","description":"Learn how to integrate hCaptcha into your forms thanks to code submissions from the HTML Forms plugin community of developers.","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:\/\/htmlformsplugin.com\/kb\/hcaptcha\/","og_locale":"en_US","og_type":"article","og_title":"Integrate hCaptcha","og_description":"Learn how to integrate hCaptcha into your forms thanks to code submissions from the HTML Forms plugin community of developers.","og_url":"https:\/\/htmlformsplugin.com\/kb\/hcaptcha\/","og_site_name":"HTML Forms WordPress Plugin","article_published_time":"2024-07-15T14:48:29+00:00","article_modified_time":"2025-09-11T13:51:25+00:00","og_image":[{"width":1200,"height":600,"url":"https:\/\/htmlformsplugin.com\/wp-content\/uploads\/2024\/05\/open-graph-html-forms.png","type":"image\/png"}],"author":"Brian Link","twitter_card":"summary_large_image","twitter_title":"Integrate hCaptcha","twitter_description":"Learn how to integrate hCaptcha into your forms thanks to code submissions from the HTML Forms plugin community of developers.","twitter_image":"https:\/\/htmlformsplugin.com\/wp-content\/uploads\/2024\/05\/open-graph-html-forms.png","twitter_misc":{"Written by":"Brian Link","Est. reading time":"1 minute"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/htmlformsplugin.com\/kb\/hcaptcha\/#article","isPartOf":{"@id":"https:\/\/htmlformsplugin.com\/kb\/hcaptcha\/"},"author":{"name":"Brian Link","@id":"https:\/\/htmlformsplugin.com\/#\/schema\/person\/b02bbb6b44c6cb9559e0002d93d1f673"},"headline":"Integrate hCaptcha","datePublished":"2024-07-15T14:48:29+00:00","dateModified":"2025-09-11T13:51:25+00:00","mainEntityOfPage":{"@id":"https:\/\/htmlformsplugin.com\/kb\/hcaptcha\/"},"wordCount":163,"commentCount":0,"publisher":{"@id":"https:\/\/htmlformsplugin.com\/#organization"},"image":{"@id":"https:\/\/htmlformsplugin.com\/kb\/hcaptcha\/#primaryimage"},"thumbnailUrl":"https:\/\/htmlformsplugin.com\/wp-content\/uploads\/2024\/07\/hcaptcha-for-wordpress-integration.png","keywords":["Advanced"],"articleSection":["Knowledge Base"],"inLanguage":"en-US"},{"@type":"WebPage","@id":"https:\/\/htmlformsplugin.com\/kb\/hcaptcha\/","url":"https:\/\/htmlformsplugin.com\/kb\/hcaptcha\/","name":"Integrate hCaptcha - HTML Forms WordPress Plugin","isPartOf":{"@id":"https:\/\/htmlformsplugin.com\/#website"},"primaryImageOfPage":{"@id":"https:\/\/htmlformsplugin.com\/kb\/hcaptcha\/#primaryimage"},"image":{"@id":"https:\/\/htmlformsplugin.com\/kb\/hcaptcha\/#primaryimage"},"thumbnailUrl":"https:\/\/htmlformsplugin.com\/wp-content\/uploads\/2024\/07\/hcaptcha-for-wordpress-integration.png","datePublished":"2024-07-15T14:48:29+00:00","dateModified":"2025-09-11T13:51:25+00:00","description":"Learn how to integrate hCaptcha into your forms thanks to code submissions from the HTML Forms plugin community of developers.","breadcrumb":{"@id":"https:\/\/htmlformsplugin.com\/kb\/hcaptcha\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/htmlformsplugin.com\/kb\/hcaptcha\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/htmlformsplugin.com\/kb\/hcaptcha\/#primaryimage","url":"https:\/\/htmlformsplugin.com\/wp-content\/uploads\/2024\/07\/hcaptcha-for-wordpress-integration.png","contentUrl":"https:\/\/htmlformsplugin.com\/wp-content\/uploads\/2024\/07\/hcaptcha-for-wordpress-integration.png","width":818,"height":637,"caption":"hCaptcha for WordPress Integration"},{"@type":"BreadcrumbList","@id":"https:\/\/htmlformsplugin.com\/kb\/hcaptcha\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/htmlformsplugin.com\/"},{"@type":"ListItem","position":2,"name":"Integrate hCaptcha"}]},{"@type":"WebSite","@id":"https:\/\/htmlformsplugin.com\/#website","url":"https:\/\/htmlformsplugin.com\/","name":"HTML Forms WordPress Plugin","description":"","publisher":{"@id":"https:\/\/htmlformsplugin.com\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/htmlformsplugin.com\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/htmlformsplugin.com\/#organization","name":"HTML Forms WordPress Plugin","url":"https:\/\/htmlformsplugin.com\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/htmlformsplugin.com\/#\/schema\/logo\/image\/","url":"https:\/\/htmlformsplugin.com\/wp-content\/uploads\/2024\/05\/html-forms-logo.png","contentUrl":"https:\/\/htmlformsplugin.com\/wp-content\/uploads\/2024\/05\/html-forms-logo.png","width":256,"height":256,"caption":"HTML Forms WordPress Plugin"},"image":{"@id":"https:\/\/htmlformsplugin.com\/#\/schema\/logo\/image\/"}},{"@type":"Person","@id":"https:\/\/htmlformsplugin.com\/#\/schema\/person\/b02bbb6b44c6cb9559e0002d93d1f673","name":"Brian Link","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/secure.gravatar.com\/avatar\/ea2350acd2040f957e4e11d136c823bc13994837d3e4a912d7d8ccd3cc6e954d?s=96&d=mm&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/ea2350acd2040f957e4e11d136c823bc13994837d3e4a912d7d8ccd3cc6e954d?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/ea2350acd2040f957e4e11d136c823bc13994837d3e4a912d7d8ccd3cc6e954d?s=96&d=mm&r=g","caption":"Brian Link"},"url":"https:\/\/htmlformsplugin.com\/author\/brian\/"}]}},"_links":{"self":[{"href":"https:\/\/htmlformsplugin.com\/wp-json\/wp\/v2\/posts\/231","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/htmlformsplugin.com\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/htmlformsplugin.com\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/htmlformsplugin.com\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/htmlformsplugin.com\/wp-json\/wp\/v2\/comments?post=231"}],"version-history":[{"count":10,"href":"https:\/\/htmlformsplugin.com\/wp-json\/wp\/v2\/posts\/231\/revisions"}],"predecessor-version":[{"id":530,"href":"https:\/\/htmlformsplugin.com\/wp-json\/wp\/v2\/posts\/231\/revisions\/530"}],"wp:attachment":[{"href":"https:\/\/htmlformsplugin.com\/wp-json\/wp\/v2\/media?parent=231"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/htmlformsplugin.com\/wp-json\/wp\/v2\/categories?post=231"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/htmlformsplugin.com\/wp-json\/wp\/v2\/tags?post=231"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}