xref: /webtrees/resources/views/captcha.phtml (revision 6e9b2106ef8de9279faf02c6e02326f2ecbbf5a5)
1<input type="text" name="<?= e($x) ?>" class="d-none" aria-label="field1" value="ok">
2<input type="text" name="<?= e($y) ?>" class="d-none" aria-label="field2" value="<?= e($z) ?>">
3
4<script>
5    document.getElementsByName(<?= json_encode($x) ?>)[0].value = document.getElementsByName(<?= json_encode($y) ?>)[0].value;
6</script>
7