base-message.php
3 years ago
is-char-max.php
3 years ago
is-char-min.php
3 years ago
is-date-max.php
3 years ago
is-date-min.php
3 years ago
is-empty-value.php
3 years ago
is-file-ext.php
3 years ago
is-file-size.php
3 years ago
is-files-max.php
3 years ago
is-not-complete-mask.php
3 years ago
is-not-valid-email.php
3 years ago
is-not-valid-url.php
3 years ago
is-number-max.php
3 years ago
is-number-min.php
3 years ago
is-empty-value.php
20 lines
| 1 | <?php |
| 2 | |
| 3 | |
| 4 | namespace Jet_Form_Builder\Blocks\Validation_Messages; |
| 5 | |
| 6 | |
| 7 | class Is_Empty_Value extends Base_Message { |
| 8 | |
| 9 | public function get_id(): string { |
| 10 | return 'empty'; |
| 11 | } |
| 12 | |
| 13 | public function get_label(): string { |
| 14 | return __( 'Field is empty', 'jet-form-builder' ); |
| 15 | } |
| 16 | |
| 17 | public function get_initial(): string { |
| 18 | return __( 'Please fill out this field.', 'jet-form-builder' ); |
| 19 | } |
| 20 | } |