base-message.php
2 years ago
is-char-max.php
2 years ago
is-char-min.php
2 years ago
is-date-max.php
2 years ago
is-date-min.php
2 years ago
is-empty-value.php
2 years ago
is-file-ext.php
2 years ago
is-file-size.php
2 years ago
is-files-max.php
2 years ago
is-not-complete-mask.php
2 years ago
is-not-valid-email.php
2 years ago
is-not-valid-url.php
2 years ago
is-number-max.php
2 years ago
is-number-min.php
2 years ago
is-empty-value.php
25 lines
| 1 | <?php |
| 2 | |
| 3 | |
| 4 | namespace JFB_Modules\Validation\Messages; |
| 5 | |
| 6 | // If this file is called directly, abort. |
| 7 | if ( ! defined( 'WPINC' ) ) { |
| 8 | die; |
| 9 | } |
| 10 | |
| 11 | class Is_Empty_Value extends Base_Message { |
| 12 | |
| 13 | public function get_id(): string { |
| 14 | return 'empty'; |
| 15 | } |
| 16 | |
| 17 | public function get_label(): string { |
| 18 | return __( 'Field is empty', 'jet-form-builder' ); |
| 19 | } |
| 20 | |
| 21 | public function get_initial(): string { |
| 22 | return __( 'Please fill out this field.', 'jet-form-builder' ); |
| 23 | } |
| 24 | } |
| 25 |