Inside a pop-up form, I want add Recaptcha,

I install Recaptcha module Drupal 8,

$form['captcha'] = ['#type' => 'captcha',
  '#captcha_type' => 'recaptcha/reCAPTCHA',];

and in my twig ==> {{ form.captcha }}

captcha display in windows form but don't show in pop-up

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.