# formidable/5.2/classes/views/frm-fields/back-end/field-captcha.php

Formidable Forms – WordPress Form Builder for Contact Forms, Calculators, Quizzes &amp; More, version 5.2. 16 lines.

- Page: https://pluginprobe.com/plugins/formidable/5.2/code/classes/views/frm-fields/back-end/field-captcha.php
- Raw: https://pluginprobe.com/plugins/formidable/5.2/raw/classes/views/frm-fields/back-end/field-captcha.php
- Modified: 2020-12-07T20:56:38+00:00

Line numbers below start at 1. Link to a line or a range by appending a fragment to the
page URL, for example `https://pluginprobe.com/plugins/formidable/5.2/code/classes/views/frm-fields/back-end/field-captcha.php#L10-L20`.

```php
<?php
if ( ! defined( 'ABSPATH' ) ) {
	die( 'You are not allowed to call this page directly.' );
}

$frm_settings = FrmAppHelper::get_settings();
if ( empty( $frm_settings->pubkey ) ) {
	?>
<div class="howto frm_no_captcha_text"><?php
	/* translators: %1$s: Link HTML, %2$s: End link */
	printf( esc_html__( 'Your captcha will not appear on your form until you %1$sset up%2$s the Site and Secret Keys', 'formidable' ), '<a href="?page=formidable-settings" target="_blank">', '</a>' );
?></div>
<?php } ?>
<img src="<?php echo esc_url( FrmAppHelper::plugin_url() . '/images/recaptcha.png' ); ?>" class="recaptcha_placeholder" alt="reCaptcha"/>
<input type="hidden" name="<?php echo esc_attr( $field_name ); ?>" value="1" />

```
