Здравствуйте подскажите как правильно поставить recaptcha на форму если она вызывается через клик
jQuery('.page-header__button').on('click', function (event) {
event.preventDefault();
$form = '<form class="order__form" data-firstS="true" action=""><div class="order__block"><label class="order__block-label" for="order__block-input_name">Ваше имя2</label><div class="order__block-image order__block-image_6"></div><input id="order__block-input_name" class="input order__block-input order__block-input_tel" required name="input_name" type="text" placeholder="Обязательно"></div><div class="order__block"><label class="order__block-label" for="order__block-input_tel">Ваш телефон</label><div class="order__block-image order__block-image_1"></div><input id="order__block-input_tel" class="input order__block-input order__block-input_tel" required name="input_tel" type="text" placeholder="Обязательно"></div><label class="as_form__agree"><input class="as_form__checkbox-hidden" required type="hidden" name="consent1" value=""><input class="as_form__checkbox" required type="checkbox" name="consent1"><span class="as_form__checkbox-custom"></span><span class="as_form__check">Согласен с <a class="as_form__check-link" href="/politika-konfidentsialnosti/" target="_blank"> политикой конфиденциальности</a></span></label><button class="order__form-button button button_orange" onclick="ym(70537165,\'reachGoal\',\'ost_zayavka\')">Оставить заявку</button></form>';
itemDomContent($form);
});