# jetformbuilder/3.6.6/modules/validation/messages/is-not-valid-url.php

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

- Page: https://pluginprobe.com/plugins/jetformbuilder/3.6.6/code/modules/validation/messages/is-not-valid-url.php
- Raw: https://pluginprobe.com/plugins/jetformbuilder/3.6.6/raw/modules/validation/messages/is-not-valid-url.php
- Modified: 2024-02-01T14:15:50+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/messages/is-not-valid-url.php#L10-L20`.

```php
<?php


namespace JFB_Modules\Validation\Messages;

use Jet_Form_Builder\Blocks\Types\Text_Field;

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

class Is_Not_Valid_Url extends Base_Message {

	public function get_id(): string {
		return 'url';
	}

	public function get_label(): string {
		return __( 'URL is not valid', 'jet-form-builder' );
	}

	public function supported_blocks(): array {
		return array(
			Text_Field::class,
		);
	}

	public function get_initial(): string {
		return __(
			'Please enter a valid URL.',
			'jet-form-builder'
		);
	}
}

```
