# formidable/trunk/classes/views/frm-forms/spam-settings/antispam.php

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

- Page: https://pluginprobe.com/plugins/formidable/trunk/code/classes/views/frm-forms/spam-settings/antispam.php
- Raw: https://pluginprobe.com/plugins/formidable/trunk/raw/classes/views/frm-forms/spam-settings/antispam.php
- Modified: 2025-12-09T17:47:34+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/trunk/code/classes/views/frm-forms/spam-settings/antispam.php#L10-L20`.

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

$tooltip = __( 'Generate unique tokens for validating form submissions.', 'formidable' );

if ( FrmAppHelper::pro_is_installed() ) {
	$tooltip .= ' ' . __( 'Uploaded files will also be validated for spam.', 'formidable' );
}
?>
<p class="frm6 frm_form_field frm_first">
	<label for="antispam">
		<input id="antispam" type="checkbox" name="options[antispam]" <?php checked( $values['antispam'], 1 ); ?> value="1" />
		<?php esc_html_e( 'Check entries for spam using JavaScript', 'formidable' ); ?>
		<?php FrmAppHelper::tooltip_icon( $tooltip, array( 'data-container' => 'body' ) ); ?>
	</label>
</p>

```
