How to ask captcha upon submitting a review

Registration form can be protected with hCaptha (HivePress supports only non-private Google spyware reCaptcha), but review form does not work for me to show hcaptcha.

I have tried multiple snippets from HivePress AI, which concluded it does not have training data to supply the code, saying:

  • The review form is dynamically rendered (not server-side rendered)
  • The standard form field approach isn’t working
  • The footer approach isn’t displaying the captcha

The non-working AI-suggested PHP snippet i have ended up with, is this one.

I wish it also contains new listing submission captcha.

Hi,

Thank you for sharing your code snippet.
Does your solution that you’ve created with AI work?

Please note that we’re unable to review custom code as it’s outside our support scope.

Regarding captcha integration, we do have plans to add it, though we don’t have a specific timeline just yet.