{"id":14312185,"date":"2021-04-13T11:25:27","date_gmt":"2021-04-13T11:25:27","guid":{"rendered":"https:\/\/wordpress.org\/support\/topic\/recaptcha-and-page-reload-issue\/"},"modified":"2021-04-13T11:25:27","modified_gmt":"2021-04-13T11:25:27","slug":"recaptcha-and-page-reload-issue","status":"publish","type":"topic","link":"https:\/\/wordpress.org\/support\/topic\/recaptcha-and-page-reload-issue\/","title":{"rendered":"reCAPTCHA and Page Reload issue"},"content":{"rendered":"<p>Hello,<\/p>\n<p>When using the form with google reCAPTCHA, if the user has not permitted cookies before sending the form, reCAPTCHA obviously does not work.<\/p>\n<p>In these cases (or if reCAPTCHA simply fails), the page containing the contact form is reloaded, taking the user to the top of the page.  <\/p>\n<p>If the form is some way down the page, or as in our case behind a toggle switch, it is not very clear to the user that the form has or has not sent (unless the user scrolls down to check the error messages).<\/p>\n<p>Is there any way to improve this behaviour so the form maintains focus, as it does with the other error messages (like missing required fields)?<\/p>\n<p>Thanks.<\/p>\n","protected":false},"template":"","class_list":["post-14312185","topic","type-topic","status-publish","hentry","topic-tag-recaptcha"],"jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic\/14312185","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic"}],"about":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/types\/topic"}],"version-history":[{"count":0,"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic\/14312185\/revisions"}],"wp:attachment":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/media?parent=14312185"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}