# jetformbuilder/3.6.6/modules/validation/handlers/self-validation-handler.php

JetFormBuilder — Dynamic Blocks Form Builder, version 3.6.6. 24 lines.

- Page: https://pluginprobe.com/plugins/jetformbuilder/3.6.6/code/modules/validation/handlers/self-validation-handler.php
- Raw: https://pluginprobe.com/plugins/jetformbuilder/3.6.6/raw/modules/validation/handlers/self-validation-handler.php
- Modified: 2025-07-02T07:54:48+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/jetformbuilder/3.6.6/code/modules/validation/handlers/self-validation-handler.php#L10-L20`.

```php
<?php
namespace JFB_Modules\Validation\Handlers;

use JFB_Modules\Validation\Handlers\Validation_Handler;

// If this file is called directly, abort.
if ( ! defined( 'WPINC' ) ) {
	die;
}

class Self_Validation_Handler {
	public function __construct() {
		add_action( 'init', array( $this, 'jet_fb_ssr_self_validation' ) );
	}
	public function jet_fb_ssr_self_validation() {
		if ( isset( $_GET['jet_fb_ssr_self_validation'] ) && '1' === $_GET['jet_fb_ssr_self_validation'] ) {
			nocache_headers();
			$body = $_GET;
			$result = Validation_Handler::validate( $body );
			wp_send_json( $result );
		}
	}
}

```
